Clonfig not only using environment variables but java properties and leiningen profiles

Clonfig not only using environment variables but java properties and leiningen profiles.

Note: the project has been updated for Leiningen 2.0