JC-1497 Registration validation moved to service layer.
JC-1508 Fixed UniqueValidator. Added tests.
Merge remote-tracking branch 'remotes/origin/JC-1497.last_changes'
JC-1508 Added comments. Fixed tests. Removed unused AuthService interface.
Merge remote-tracking branch 'origin/master'