Improvements to the testclient

* Sends always as json-encoded data
* Displays error messages
* FadeIn / FadeOut for request
* Ability to customize ajax behaviour through apidoc.json on property "jQueryAjaxSetup"