Fix up a failing test.
Pass db client in to all functions in jobs model.
job module is now passed db con params, makes own connection
Factor out test functions from jobs model.
Fix typo.
Use node-pg-transaction.
Use eventemitter style errors for tx library.
Fix indentation.
Merge pull request #8 from noblesamurai/transaction_cleanup

Manage DB connections properly wrt transactions