Editable tempdir, pdflatex and persistent tempfile fix.

- moved temppath/pdflatex to configs.js
- temp cleanup after generation
- CSS issue Chrome (login-bar)
- no chdir in routes, added path do pdflatex 
- fixed premission bug in non-standard environment