Fixes rendering templates when included in wsgi

When included in the wsgi script, Flask needs to be told what directory to load templates out of.