onBeforeChange event created

This callback altogether with the already created onChange alloww manage situations like this https://github.com/summernote/summernote/issues/790#issuecomment-66518518