Added html js abstraction for wrapping Javascript in HTML or CDATA comments

This is the implementation of the html abstraction for easy wrapping of javascript blocks in HTML and/or CDATA comments. See https://github.com/slim-template/slim/pull/340 for more details.