fixed debug of running to use names instead of states

got routing tables to be written to the machine

fixed a bug with spike soruce array where it wasnt producing any spikes for its spike trains
modified the c code of spike sources to use correct region ids

fixed a bug in spinnman where it expected bytearray as a list but wasnt in the form
Merge remote-tracking branch 'origin/master'