Adds env-changing middleware

triggered by ?env=[environmentName]

**Example**
````
http://localhost:8000/?env=production
http://localhost:8000/?env=development
````