[etwist] pass the repository to the root resource
This is another step toward a cleaner instantiation scheme for the repo.
The http test now pass an already created object to the etwist server instead of
relying on the config cache.
Related to #2249513
<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>