Adds email/phone validation to "Add Email/Contact"

Adds client-side validation to the modals in the user
settings for adding "Ways to Contact".

fixes CNVS-16681

Test Plan:
* Log in as a Student
* Go to Settings (/profile/settings)
* Click "Add Email Address" under "Ways to Contact"
  on the right sidebar
* In the "Email Address" field, add an invalid email
  address/<script> tag/link/etc.
* Click "Register Email"
* It should display an error saying the email address
  is invalid

Change-Id: I5c31901f304f117d14b52ebf262dea0dbed2ddd7
Reviewed-on: https://gerrit.instructure.com/44273
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>