Add nose test runner to requirements
Fix reference to db to self.db. Somehow this got lost in the merge.