'Create a \'loid\' event for event-collector.
loid: the created/modified loid
action_name: create_loid (only allowed value currently)'

def loid_event(self, loid, action_name, request=None, context=None):

    event = Event(topic='loid_events', event_type=('ss.%s' % action_name), request=request, context=context)
    event.add('request_url', request.fullpath)
    for (k, v) in loid.to_dict().iteritems():
        event.add(k, v)
    self.save_event(event)
