Changes controllers. Tested in other repos

NEW, INDEX, SHOW, EDIT, and DESTROY actions have had the code moved
into the ApplicationController. CREATE and UPDATE actions can't right
now because of the use of the permitted params in Rails 4