[CVE-2013-1768] Disable logging during brokerfactory de-serialization. Added type checking of plugin values.