Reworked write out from network

- renamed net.write_data to net.write_data_to_hd5
- put neo imports inside this function
- removed net.read_data
- put reading plotting test inside test_writeout