Update PluginBase API.

Move common functionalities into base class:
- configure has to be called before main
- main gets a callback function only
- getName has to be implemented in the plugins
- save() does not fast forward the branch if plugin called from the
client side.
PluginResult
- add plugin name
- add finished time stamp - more stats are coming…