pacman: graph: changed resoruces from max to just resoruces, and cleaned up some dnagling code bits

spynnaker: lots of structrual changes to make the code base a lot more friendly and maintainable. STILL NOT COMPLETED