Update plugin configuration methods

* return a map containing instance and extra configuration
* needed to support extra scopes for notification plugins
Support scopes in groovy plugin config definitions
Support scoped properties for groovy Notification plugins