Add .fetch.json metadata file to plugin dirs after fetch

This file holds data about where this plugin was fetched from. This
facilitates updating plugins and installing relative dependencies.
Add support for relative dependencies with a url of "."