Issue #165, #166 - Allow user more control over the plugin provider.

- Allow user to pass options to the install-plugin call of the CLI.
- Allow user to specify if and how the restart notification is processed.
- Properly set updated_by_last_action.