Support modes, platform- and version-specific configuration

Capsule allows platform and version specific as well as different mode configurations. These are missing in the plugin.