Moves configuration to a json struct

- Supports the definition of environments via NODE_ENV
- Default environment 'development'
- For the tests it copies example.json to development.json
- Adds {development,production}.json to .gitignore