Fixed some postgres stuff
Fixed some more db stuff
Merge branch 'master' of github.com:hansson/rentit