Created module for setting user in application setup and users controller
Cleaned up app setup controller after previous commit
refactored set_view_mode in application_controller
deleted dead code from activate and deactivate methods in application_controller
moved admin validation from activate/deactivate methods to a before_filter method
updated refactoring for new_users, #355
Merge pull request #371 from YaleSTC/355_356_357_refactoring

355 356 357 refactoring