Template root directory is loaded based on file position

Jinja2 template root directory is loaded based on where the templating.py file is located, not from a hardcoded value that requires openspending to be started in a specific directory. Fixes #597