Closing #133 (hopefully).

Using the deployment to set a global variable that sets the server_url
which will be used by apache. This way we can set the appropriate url
for each environment.