IE8 Node.compareDocumentPosition fix

IE8 compatibility was lost by using said function. This has been reported with #18 and this PR provides the fix.

The second commit fixes an refactoring oversight that only causes trouble on IE8. At some point, all `iframe` references have been replaced by `editablecontent` references which now appear as `container` in that file.