Make PluginMetaData use a Path for the plugin.

Make URLBuilder accept 'file:/..' URLs, which it used to like
prefixing with 'file://' again...
Deprecate some methods and simplify logic.
Merge pull request #90 from csmith/master

Plugin tidying.