plugin: allow logger delegation for tests

For testing purposes, allow one to specify a standard ruby logger
for the plugin.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>