[ajax] refactor/cleanup low-level ajax functions
* loadxhtml/replacePageChunck/reload_component/reload_box deprecated in favor of loadXHTML / ajaxFuncArgs
* some other cleanups in cubicweb.ajax.js
* add js_render which will replace js_component (more generic, nicer argument passing handling)
<html>
<head>
<script type="text/javascript" src="../../data/jquery.js"></script>
<script src="../../data/cubicweb.js" type="text/javascript"></script>
<script src="../../data/cubicweb.compat.js" type="text/javascript"></script>
<script src="../../data/cubicweb.python.js" type="text/javascript"></script>
<script src="../../data/cubicweb.htmlhelpers.js" type="text/javascript"></script>
<script type="text/javascript" src="qunit.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="qunit.css" />
<script src="test_htmlhelpers.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
</div>
<h1 id="qunit-header">QUnit example</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests">
</body>
</html>