Encode HTML in tab titles

Recently I came across the fact that QuickTabs does not perform any HTML encoding on tab titles.

![](http://drp.io/files/53aed65b2295c.png)

This patch could fix just a couple of template delimiters (`{{= }}` to `{{! }}`). Unfortunately, DoT needs some additional code for this, so I imported it from source.