Major refactoring with cleanup of the code. All models are now in the user-defined style.
One example (MBody1) is compiling and running on GPU, compiling and semi0running on CPU.
No examination of results has been performed.
In this revision I re-enabled the GLOBALG mechanism but it's slightly different: Values for any variables of a GLOBALG synapse group are derived from teh provided initial values array. The setSynapseG function is still hanging around but it only thorws a warning that it does nothing and that initial values count.
I have also removed the g0 vector as part of this change.
Fixed a small bug of using the wrong index for the number of neurons in a neurongroup (i insted of trg, where i was bound to the synapse group number at this instance).
Implemented the string based spike event detection and removed all explicit dependence on pre-defined variables such as V and Epre. All in all it should all be much cleaner now. Maybe needs another iteration for maturity.
I have tested MBody1 example and it's good. brian2genn passses two tests ("Euler integration" and "presynaptic code")
I think it may be ready to be merged into development now.
hanged the name of postIndInG to revIndInG and postInd to revInd
Merge branch 'newstructure' into development

Conflicts:
	lib/include/modelSpec.cc
	lib/src/generateALL.cc
	lib/src/generateCPU.cc
	lib/src/generateKernels.cc
	lib/src/generateRunner.cc