Allow synapse creation from arrays in standalone by refactoring this kind of synapse creation into a template. Closes #254
Add a test for the synapse creation via arrays in standalone