Added a better configuration management

Now config can vary from development / test / production.
Tests are run in the test configuration
Merge pull request #2 from raphaelmor/configuration

Added a better configuration management