Style fixes for databases package

Nose tests passed with 201 tests skipped.  pep8 ran with no errors.