Attempt to fix https://github.com/racke/Template-Flute/issues/6

If the script is wrapped in CDATA, the closing CDATA tag will be
escaped. See bug https://rt.cpan.org/Public/Bug/Display.html?id=86773

When parsing the input html, for hook or template, loop over the found
script elements and set it "asis" (to be read "AS IS") to prevent
escaping.

This looks like a workaround, because the HTML->XML translator doesn't
seem to parse the CDATA section correctly. So we have on one side the
missing CDATA parsing (in TreeBuilder) and on the other side the Twig
bug which escape the end of the CDATA tag (]]>) even if it was told to
leave it AS IS.

For the common usage scenario, this should not be a problem, anyway, but
this needs to be kept in mind, as using CDATA will produce invalid
HTML (until the issue on the Twig side is fixed).

Revisited and rebased against latest master
Fixed bad merge
Improved failure output
safe_parse will refuse to parse sloppy html with <script>

So we have to revert to safe_parse_html. Twig will insert <html><body>,
so we can cut the body's children.

The change to 11-value.t are just relative to failure output.
Added tests for hooks and layout

Please keep in mind that the current XML::Twig is (afaics) buggy and
it escapes the end of CDATA for unknown reasons.
Moved 16-js.t to t/values/js.t and updated manifest
Merge pull request #27 from melmothx/topic/gh6

Fix bad escaping inside <script> tags.