Add compatibility function for outerHTML
Merge pull request #3177 from owncloud/outerHTML_compatibility

Add compatibility function for outerHTML