updated before_filters to before_actions as recommended for rails 4
Merge pull request #4595 from paterson/rails4

Various updates for rails 4