Added unit testing, corrected a fiew bugs while I was at it.
Added some more tests, rewrote some views. Added travis-ci integration.
Tests and DB management improvements

Corrected tests,
made a function for DB creation,
db is now configurable via environment variable DATABASE_URL.
Forgot to add link to help page to the inline help