Typo
Factor entity initialization in the base mixin + send an event with the
entity type and URI

Cherry picked from veloce:ckeditor-image-plugin