Moved away from hard coded urls
1. We were using hard coded urls in a bunch of places, this posed two problems.
a. We couldn't freely change the root of the site for different deployments.
b. Urls were not really that flexible in urls.py because of the hard coded dependencies.
2. To fix this we moved to using reverse lookups and a custom template tag specifying the root url that works out of a setting from settings.py.
3. Also tweaked wsgi.py.