Add validation to invite new user form.

Closes #3246
- Add a UserValidator to the validation engine that runs a set
  of validations based on the user status.
- Added validations for invited users and active users.
Merge pull request #3248 from jaswilli/issue-3246

Add validation to invite new user form.