Improve configuration

- refactored configuration class to use ActiveModel
- added validations via ActiveModel
- added rake task for users to run to validate config
- config can also be validated on startup via config.verify