Convert admin page to angularjs, move Controller logic to API, make sure email defaults to correct value when converting LDAP user to Piwik user