Jhtmlbootstrap

A lot of improvements to this file.

- jQuery code should be executed in a ready function, not just a closure
- js strings should be properly encoded
- some restructuring to be nicer looking and more efficient
- use a layout for complex html rendering

Tracker is here: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33966&start=0

Not all tracker issues are addressed. One in particular is maybe not possible without breaking backwards compatibility.