add a db base class that sqlite implements
support postgres as a datastore option
change delete_jobs interface for easier testing
add db tests
refactor tests
Merge pull request #41 from Clever/support-postgres

add support for postgres datastore