Add fix for document stripping on editor bind/unbind.

For media module and integration with ckeditor module and library
via the wysiwyg plugin in media_wysiwyg.