add enabled flag for event system.
add enabled flag for event system.

Only if the Event system is initialized will we try and
publish events.

raintank/raintank-apps,raintank/raintank-apps,raintank/raintank-apps