CLC-3514: Front-end implementation for new Status menu
https://jira.ets.berkeley.edu/jira/browse/CLC-3514
CLC-3418: User Alert feature needs to be able to update without a page refresh
https://jira.ets.berkeley.edu/jira/browse/CLC-3418
Merge pull request #2348 from christianv/CLC-3514

CLC-3514: Front-end implementation for new Status menu
Merge pull request #2349 from christianv/CLC-3418

CLC-3418: User Alert feature needs to be able to update without a page refresh
started trying to use the reauthorize method as a before filter for act_as.  Still testing
Successfully logging the correct omniauth url, but the
application freezes there and fails to continue.

1. log in as admin
2. go to settings page
3. tail the log files looking for errors:
  tail -f log/*log | egrep -i "omni|error"
4. Try acting as oski (61889)

5. Logs will show the expected cas_url

[ERROR] [CalCentral] cas_url: https://auth-test.berkeley.edu/cas/login?renew=true&service=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fcas%2Fcallback%3Frenew%3Dtrue%26url%3Dhttp%253A%252F%252Flocalhost%253A3000%252Fsettings

6. But the redirect is never made. The app freezes right there
See previous commit comment.

[ERROR] [CalCentral] cas_url: https://auth-test.berkeley.edu/cas/login?renew=true&service=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fcas%2Fcallback%3Frenew%3Dtrue%26url%3Dhttp%253A%252F%252Flocalhost%253A3000%252Fsettings

application freezes
added the reauthentication feature flag
removed overrides of the OmniAuth-Cas gem
added the reauthenticate param when acting as
added the check_reauthentication before filter and the need_act_as_reauthentication? method that goes along with it
added delete_all_cookies method and the encode_uri_component method.  use delete_all_cookies whenever reset session is called
Removed the reauthorize method and its before filter
Added the act_as= method to force an act_as when needed
Use delete_all_cookies method whenever reset_session is used
Changed continue_with_login_success to only reasssign the session[:uid] when a user is not already acting_as and reauthenticated
Changed the lookup method to force the act_as on the user when the renew=act_as_UID parameter is received on callback and set the :reauthenticated_act_as cookie to true, continuing login success with the act as uid.