this patch refactors the client, drivers and client factory to use the same Protocol mechanism used by the stats collector to construct the proper client to be used according to the configuration
Also updated unittests to pass.
Fixed the unit tests and the notify plugin
This patch restructures the unit tests for plugins. This also adds unit tests for the NotifyPlugin