urldecode POST and more log

- explicitly urldecode POST data
  (note: GET data is already decoded!)
  http://www.php.net/manual/en/function.urldecode.php#refsect1-function.urldecode-notes
- use debugLog in index.php