Standardise logging in YK-KSM to be like YK-VAL (use logdie() and a
logger function).

Remove unused $logfacility variable in config.

Enable $logging switch to enable or disable any logging. Default to
not logging anything out-of-the-box.