Changes: - wrapping in HL now adds cssClass instead of discarding previous ones. - getLength accounts for tab tags correctly. - generic splitNode, potentially should be moved into util. - more tests. Feature: Issue 3915 Change-Id: Id8a646a5de4fd702aa112678c039df9ff8dd8c0b