Updated handling of synapses to match refimpl.

Used to be called filters, now called synapses, and the logic is
slightly different.
Implemented RectifiedLinear neuron type.
Added implementation of Sigmoid neuron type.
Adjusted LIF and LIFRate sim code to match refimpl

Changed dividing/multiplying by dt.
Fixed handling of synapses with trivial parameters