Commit initial work.

This includes configuration loading, debug logger setup and basic
database functions.
Add standard .gitignore file for Python on GitHub.