Implement plugin configuration

Now plugins can be configured using a config hash.

Keys of the hash are prefixed with 'plugin.' and placed on per line,
values being set as the values.