Notification Feature + minor fixes

Syncronized access to entity manager
Email validation before sending notifications
Tuned admin user creation.
Notification feature working.
Minor refactorings.