Taking advantage of new Orlex cache
Refactoring config to use environment

Previously was using a complicated system of environment-based
configuration files, i.e., dev.php, prod.php, etc. This commit
adds an environment variable to specify an environment and then
configures certain directives, such as debug mode, accordingly.