Consolidated unit tests

All tests are now in one place and can be run with a single command. 

I also had to update `Log` to use flask-sqlalchemy. Once this has been merged in, I'll be able to update the rest of the models since I'll be able to run the unit tests while importing models from `app`.

Fixes #53.