Implement image replacement.

* Add reference to the PostImage instance to the MediaFrame so that all states can access it.
* Override select toolbar to add a replace action.
* Connect the replace action to tinymce.