The distinctId is computed before triggering grails async event that will send the mixpanel event

I modified the MixpanelService so that the distinctId is computed before triggering the grails async event that will send the mixpanel event. This is because one may be getting the distinctId and the value may be dependent on that thread e.g when using the grails spring security plugin to get the current logged in user.