Editor Lite: allow extensions to setup environment before use

The following structure of the extensions is proposed:

export default {
  init() {
    // This method should be used to set up the environment before applying an extension
  }
  // core extension's methods
}

This structure should be expected by Editor Lite when applying an extension.

Edited by Denys Mishunov