refactor io tests and improve error messages
fix bug in spiketrain right_sweep
add brainware src file io and tests
add brainware dam file io