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