Sending spikes more efficiently.

Sends indices of spiking neurons instead of the entire spike vector.
Currently sends indices using unsignedShorts which go up to 65535,
which should be enough for most use cases.