added helper function to write weights and plotting script for weights
added ./bin to .gitignore and improved wscript to automatically build all tests
network.cpp: restructured init functions, added write_spikes call
added WTA test