aceeditor: move event listeners so they won't be overwritten when the co...

...mponent is instantiated with listeners.
Without this, creating an AceEditor component that has listeners will remove the original "change" and "resize" handlers.