Moving duplicate controller code to application_controller.rb
Reorganizing actions in Activities controller

For readability, this groups runtime actions and authoring/admin actions.
Reducing complexity in Activities controller