Added the db.types package to setup.py

Fixed some import errors because the setup was not set up right.
Merge branch 'hotfix-import' of git://github.com/rguarino/buildbot