Fix for tab control removing all extra css classes from tabs

TTabControl's client-side wrapper has previously wiped out all extra
classes from tab views. Behaviour changed to reflect that of the
elementClicked()'s.