use mozdef_lib to send events to mozdef
clean up compliance event format, also generate events when systems are compliant