Merge pull request #131 from guardian/oja-formatters-refactor

Add sanitize and prepare phases to HTML formatting
Merge branch 'master' into oja-fix-wrong-h1-wrapping
Only run formatters inside of transaction if the editor is active
Restore selection after giving focus to prevent `clongeRange` errors