Fix IE7/8 txt setter for "style" element

Setter and Getter for "style" element is special in old IE. This creates
exceptions to take care of that.
update after review feedback
Merge pull request #2622 from SergioCrisostomo/fix-2265-ieStyleText

Fix setter so IE7/8 can set text of style element