When looking up the style for an element Closure detects IE and uses
runtimeStyle (unique to IE). However, elements created by createElementNS
do not have this attribute and thus goog/style/style.js crashes. This change
detects when we create an element with the NS variety and gives it this
attribute. A better place for this fix would be style.js but this is easier.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/10734044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1081 c400ca83-b69d-9dd7-9705-49c6b8615e23
utils: Added option to have either space or comma seperated transform attribute.
See the inline comment regarding the reason.

block: Changed parentElement to parentNode. This is another issue with IE's implmentation of createElementNS. When this method is used the child is not given a parentElement upon insertion into DOM, just a parentNode.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/11175043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1082 c400ca83-b69d-9dd7-9705-49c6b8615e23
The toolbox is either an xml element in the DOM or a string representation of an xml document. If the former, most browsers can get the element by id and it will automatically be converted to proper HTML with DOM structure (children, parent, sibling pointers etc.) However, IE 9+ lack a native XML -> HTML converter. There are various work arounds, but we already include a text to html converter so we should leverage that and just simply convert the whole xml element to text.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/11177043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1083 c400ca83-b69d-9dd7-9705-49c6b8615e23