Add event manager to ProfileService (foregoing use of trait for now)
See #10
Fix new issues flagged by Scrutinizer-CI
Merge branch 'feature/eventmanager'

Closes #10