Freeseer/freeseer — pull request #671 by wigglier (2014-11-25 16:12:08+00:00)
Title: unit test and refactor database.py part 2

Add unit tests and refactor/fix/document issues related to the database.
(Part 2, because #619 grew too large.)

Related #484
Related #619