Refactors ClientActionsController. Adds tests for ClientActionsController
Refactor ClientActionsController using objects. Adds tests to ClientActionsControllerSpec.