Use skip_before_action instead of skip_before_filter
Updated controller scaffolding to be in line with Rails 4 scaffolding
Updated pagination to use .total_count