Moving database code into a database configuration module.
See 18F/afsmallbiz#74
Attempting to correct Travis test errors. Moved database code into a common location to ensure that the in-memory database that is being accessed has all the records it should.