Improve state variable access and add some testing
Switch off compilation warnings, otherwise C++ code generation produces a lot of noise
Implement probabilistic connections and multiple synapses with code generation.