Control textDir in deliteful/ToogleButton fix#342

1) Move bidi logic into refreshRendering()
2) Use applyTextDirection() for setting textDir in checkedLabel
3) Support for textDir in title
4) updates in the template - not bidi-specific but suggested because FF gets error ("not well-formed") for ampersands in html.