Allow configuring config and data dirs

This change allows the plugin config and data directories to
be configured. It lays the foundation for further extending
the configuration in a subsequent change, where the plugin
config and content can be read from a repository.

Change-Id: I3844dc9183eb84566b3b9bece3a9549b035984db
5 files changed