Add method to retrieve a plugin's manifest

Should probably have included this in the initial pull request, sorry.

Is there a more elegant way to do it?