Merge branch 'release/0.4.0' into develop
Removed the BTW-specific styling.
Reformatting.
Make all real divs inline.
Clarified the nomenclature. What used to be $document is now $root.
pathToNode now accepts an empty string as a path, nodeToPath now accepts root as the node for which to return a path.
Make element no longer creates placeholders.
createTextNode needs a parameter. Chrome tolerates no param but not Firefox.
Added support for _phantom_wrap.
Fix a documentation scope error.
Added linkTrees.
Removed the placeholders that were to appear between elements.
Removed unnecessary styles.
Detach nodes rather than remove them.
Support for working with a copied tree.
Added support for inserting elements before the element being clicked.
Return consistently.
Fixes in how cursors are converted.
Added support for context menus at end tag label.
fireTransformation now takes an opitional new caret position.