Refactor EventCreator for readability
Refactor EventCreator for readability

- Use object initializer syntax
- Wrap database object creation in transaction to avoid crashes if called from a method that doesn't wrap method call in a transaction
- Use default clause for switch statement instead of returning empty string at the end

StarcounterSamples/People,StarcounterSamples/People,StarcounterSamples/People,StarcounterSamples/People