Aloha Editor very slow on large content

Some performance were made, so the Aloha-editor smartContenthandler is faster in large contents. Improvements of loop-for, jQuery selector and Dom iteration.
Correct variable name
Set "preferTextRange" to false for improved performance
Do not call doCleanup on 'insertparagraph' command
Refactor code around execCommand() for readability