Output the type of database unit tests are running against.

This is useful when saving logs, and just to verify that the proper
backend is indeed being used.
Add a .gitignore file.