Refactoring
 - extract settings.js from summernote.js
 - reuse editor.data('options').
 - move init History code to EventHandler.