Configurate autos scaling with environment variables and a bit of refactoring.

I've updated this project to be able to deploy as a Cloud Foundry application. 

In order to do it I needed to switch to configuration with environment variables. 

Now it is possible to deploy it to CF using simple [manifest file](https://github.com/allomov/cf-auto-scaling/blob/environment-variables/manifest.yml.template).