Fix wrong type in C++ thresholder code, lead to a lot of bogus spikes
for neuron "0". Also closes #20