export ns, mode change, defines, debughtml, minor

- Fixes #121 by changing mode depending on language
- add debug option ?debughtml=html
- add namespace export option with urlparameters:
  - do=export_pdfns
  - pdfns_ns=name:space
  - pdfns_title=Test+title
  - optional:
    - pdfns_order=date (accepts: natural(default), date or pagename)
    - pdfns_depth=1 (accepts: positive numbers, default 0)
 - fix some tmp-dir defines
 - other minor stuff
Sofar i know is `die()` equivalent to `exit()`. http://php.net/manual/en/function.die.php
But i will refactor it.