Plugin API: provide the root folder for the app that this plugin belongs to
As an API for plugins we should provide a way for the plugin to find its root folder where it can do whatever it wants, like add data, etc.
This is the root folder of the app that this plugin is part of, e.g. /var/hda/apps/ID/, not that of the source code of the plugin.
Also available in: Atom