Added supporting module to test different database types.
Retrofitted tests to use a centralized database connection function.
Don't index module used internally for tests only.
Added configuration for Travis-CI.