Plugin tidying.

Start moving some things to Paths, deprecate some icky
methods in PluginMetaData.