Added validation for username and email max length.
LMS-1479
Merge pull request #2671 from edx/waheed/lms1479-front-end-validation-for-username-email

Added validation for username and email max length.