Neuron name service: fix type of skeleton collection

The collection of skeletons that are managed by the neuron name service was
defined as an array before. It was, however, used in all places as it was an
object. This commit fixes this problem and makes it an object right from the
beginning. This is related to issue #696.