new app LocalSettings.php
remove some environment checking helper functions
change strings to constants
switch chat env back to prod
remove getEnvironment helper function and use global env var
Merge branch 'dev' into PLATFORM-254

Fixed Conflicts:
	extensions/wikia/Bucky/Bucky.class.php
Merge pull request #3890 from Wikia/PLATFORM-254

Platform 254