HPCC-12415 Excessive tracing from cassandra plugin

Added the ability to control the logging level within plugins, and to capture
logging from those plugins via the standard capture mechanisms.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
For old (5.0.x) workunits this is going to crash because ctx will be NULL.