Django template modifications

I tried modifying the Django templates to make it easier for StackTach to be hosted under a `/sub` directory such as `http://example.com/stacktach`.

Please let me know if there is a better way of doing this or if further changes need done to support this.