[#4] Rewrtie WMS preview plugin for ResourcePreview interface

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.