Core API: add getUri() to PluginActivator (#598).

So a plugin can get its own URI:
{{{
String getUri()
}}}

Close #598.