Refactored and fixed generateRunner and modelSpec to handle neuron variable queues.
Spike variables (glbSpk, glbSpkEvnt, etc) are now dynamically allocated. Fixed neuron CPU function to use delayed spikes correctly again.

Still need to correct CPU synapse functions and both CUDA kernels.
Merge remote-tracking branch 'origin/development' into nrn_var_que
CPU syn fixes.
Various bugfixes, of which I have no memory of...
Bugfixes and refactoring to neuron variable queue mechanisms. finished generateCPU, generateRunner and modelSpec.
Merge remote-tracking branch 'origin/development' into nrn_var_que

Conflicts:
	lib/src/generateRunner.cc
Converted GPU neuron kernel to use neuron var queues. Bugfixes to CPU-side neuron var queues. Only the synapseGPU kernels remain.
Finished fixing synapse kernel to use neuron var queues properly.

Only GPU learning kernel remains...
Finished converting genn code to use neuron variable queues properly. Needs testing.
Merge remote-tracking branch 'origin/development' into nrn_var_que

Conflicts:
	lib/src/generateKernels.cc
Merge remote-tracking branch 'origin/development' into nrn_var_que
Some pointer dereference bugfixes.
i fixed a size problem in variable allocation temporarily
Fixed a cudaFree problem where variables were freed twice
Fixed fatal bug in MBody1 project (cudaResetDevice was being called before freeMem, so freeMem was trying to clear variables that had already been cleared by ResetDevice).

Also fixed a freeMem() bug, where spike event arrays glbSpkEvnt were trying to be deleted twice.
Merge branch 'development' into nrn_var_que
Added a good number of known numeric types to the "theSize" function. I think it is fairly comprehensive.
Fixed and updated synapse delay project. Updated other projects (removed calls to missing freeDeviceMem, etc.).
Reverted back to calculating array sizes at runtime, rather than compile-time.