Refactor configuration file loading - config files are now easier to override for testing purposes.

Remove mongoose db implementation (will be provided by waigo-mongo plugin instead).