--added a method to get Range object from Editor object
--added a callback to Editor.removeMedia() so some action can be performed like removing image from server etc.