fix queries tab on footnotes bar
remove diff deprecation warnings
use not-deprecated ActionDispatch
switch to filter style which is not deprecated in Rails 4
Merge pull request #1 from codeodor/rails4

Finish off the fixes for Rails 4