[web] move qunit test back into web and fix the hanging
qunit test can not work outside web. a lot of try/finally clause have been added
to prevent qunit to hang on error.
A not a test a indeed broken. But we at least put in them a running state again..
<html><head><!-- dependencies --><scripttype="text/javascript"src="../../data/jquery.js"></script><scriptsrc="../../data/cubicweb.python.js"type="text/javascript"></script><scriptsrc="../../data/cubicweb.js"type="text/javascript"></script><scriptsrc="../../data/cubicweb.compat.js"type="text/javascript"></script><scriptsrc="../../data/cubicweb.htmlhelpers.js"type="text/javascript"></script><!-- qunit files --><scripttype="text/javascript"src="../../../devtools/data/qunit.js"></script><linkrel="stylesheet"type="text/css"media="all"href="../../../devtools/data/qunit.css"/><!-- test suite --><scriptsrc="cwmock.js"type="text/javascript"></script><scriptsrc="test_htmlhelpers.js"type="text/javascript"></script></head><body><divid="main"></div><h1id="qunit-header">cubicweb.htmlhelpers.js functions tests</h1><h2id="qunit-banner"></h2><olid="qunit-tests"></body></html>