apply roles correctly when logging in.
Changed location of email templates
Merge branch 'pr/n51_shizik' into new-membership

Conflicts:
	DemoApplication/DemoApplication/DemoApplication.csproj
refactored data model, changed some data access code
updates to admin section
added health monitoring logging
refactored the photo upload (part 1)
refactored upload handler to infrastructure project
added method UploadSingleFile to the StorageProvider
Added event logging to the app_error handler
untracked files on master: d6699f2 added health monitoring logging
Initial Error Handling