Make possible to pass arguments for a plugin

You may need to configure a plugin by passing options to it.
Set a "options" parameter to the plugin config, it will be passed as the
second argument to the plugin constructor.