Fixed JSON syntax errors and default SQLite settings in sample config.
Close config file when loading settings.
Fix #55. Avoid KeyErrors when redis needs no password.
Merge pull request #56 from dougk7/master

Fix JSON syntax errors in default config, close config file after loading and fix issue #55