fixed initialization + debug setting

You needed to access the COMPRESS_CSS_AND_JS through the config object. Also passing the app reference to the Environment constructor is cleaner.