EventLogger refactoring, cleanup

- moved EventLogger to separate group
- added support to log simple string
- added support to enable/disable persistence
- updated peerID to be cached via user defaults on the device
- updated invite check to use sha1 hash of display name