Closes #331 - added feature toggle function to catocommon.
fixed a typo in catocommon.msghub_broadcast