interrupt safe file write
make storage configurable
postgresl storage backend, with tests
schema cleaner for tests
remove non-standard port from testing.ini
add testing db init to travis