In debug mode: catch and log JS errors with file information

When debugging is enabled (allowdebug enabled) JS errors are now catched
for each non-core JS file and logged with the additional information
from which file they came. This should make it easier to find out which
plugin is the cause for broken JS code. The feature isn't enabled by
default as defining functions inside try-clauses isn't allowed in strict
mode and causes a warning at least in Firefox.
Don't recommend the deprecated default template for JS debugging
Improve nofollow behaviour for ?do=index

In response to FS#2766
- make namespace links in the browser sitemap nofollow
- remove nofollow from browser sitemap link on the wiki start page
  when sitemap.xml generation is disabled
Merge pull request #238 from splitbrain/logjserrors

In debug mode: catch and log JS errors with file information
use http_build_query() in HTTPClient

this ensures nested POST data is correctly encoded
added default icon to pagetools
Brazilian Portuguese language update
prevent overlong select boxes (FS#2817)
include namespace links when index access from the wiki start page
and no automatic sitemap.xml is being generated.
simplify comment
Merge pull request #247 from splitbrain/FS#2766

Improve nofollow behaviour for ?do=index
fixed tar tests FS#2809

Tars strip the leading slash so the tests where wrong. Not sure why they
stilldid work sometimes