Set the root URL as an environment variable

Sets the root URL as an environment variable so anybody following the tutorial can use whatever app name is available at Heroku without having to modify the code.