loader,templates: made jinja2-templates independent from $PWD

Originally the code assumed that the current directory is the site root,
because Makefile calls sitegen.py from that directory. Now the current
directory doesn't affect site generation.