New editor registration support

This allows all image editing (including tiles in the map editor, etc.)
to be handled in one place--the image plugin.  Also started overhauling
the plugin system.  Instead of passing the Host all over the place,
plugins can use methods in the PluginManager class.