Add buttons to remove emails and phone numbers

Also moved the javascript for the edit profile page to a separate file,
for better organization.
Merge branch 'dev'
Add buttons to delete phone numbers and email addresses