Added some tests
Removed old database-related stuff

Storage-related stuff should go in the storage plugin and only be loaded
if the storage is actually used (eg. if we store in memory we don't need
to initialize mongodb..)
Fixed requirements

* Added argparse for python <2.7
* Commented out not-yet-used requirements