Add support for SVG elements in WebKit browsers

WebKit browsers don't currently appear to support Element.children.
Hence errors are produced in translateElement when SVG elements
(including inline SVG) are encountered.
Merge pull request #19 from birtles/master

Fix support for SVG in WebKit browsers