Fix some more problems in the templates
Adapt a test to the current state variable semantics (use foo.var[:] to get the values)
Start implementing the Synapses.connect function