Add ability to emulate another user

Add ability to emulate another user with a request to /emulate/<username>. To
emulate another user, the user must have a valid CAS session and be a member of
the core-services group (verified through LDAP).