fixing an IE8 issue with Node.compareDocumentPosition.

IE8 lacks an implementation of this function. Thus, this commit adds a reimplementation borrowed from JSDOM in case the browser doesn't provide it's own implementation.
fixing an refactoring oversight that occurs when using IE8 and hampers wysihtml5 from loading properly.
missing new line added.
Merge pull request #19 from vanto/ie8_compareDocumentPosition_fix

Fixes IE 8 mayor errors.