No need to load an extension.
spatial_metadata will load the resources (public, templates and resources) for all plugins to use, as it needs to be loaded anyway.
Much simplified plugin for previewing WMS. It requires the resource_proxy plugin to work. Also clean up public and template dir to mimic core layout.