backporting from epm. minor refactoring; in users export # of events is now just those attended as participant
replacing the unused user column 'virgin' with a cache of # of events attended. used in exporting users for much faster export