controller method modified to either invite existing user to team or register new one.
service code refactored
code refactoring
core method of getting account by email
controller method extended to receive account either by id or email
frontend call implemented to register new user to team
creating the new user and adding him to team done on client side
email sender is wrapped up into interface
email sender injected into the global IoC
moq added to service tests, email sender wrapped up as mock for unit tests
tests improved to verify email sending calls
more email verification in unit tests
Merge pull request #30 from Altal/local.sergey

Local.sergey