refactor applicaiton.rb
keep `remove_filter` from hitting the database

Now any calls to it are cached until render time :heart:
update to #2006; better file lookup

This uses the same convention as `RAILS_VERSION_FILE` for more consistent lookup.
Specifically, #2006 broke `./script/local server`.
Merge pull request #2014 from Daxter/bugfix/1876-lazy-filter-removal

[1876] Make `remove_filter` lazy
always return a string from `with_new_form_buffer`

fixes `semantic_errors` regression from #1996 as per
my discussion with @coreyward in the diff for a1cfdb69d7ad
fix jQuery 1.9 compatibility issue

As per this discussion:
https://github.com/gregbell/active_admin/pull/1879#discussion_r3453478
cleanup

this is a general refactor, and doesn't change behaviour
Merge pull request #2016 from Daxter/refactor/js

JS Refactor
fixes regression from #2014

closes #2020
dynamic scope names

You can now pass in a proc as the first argument to a scope and
have that rendered on your index page.
Merge pull request #2018 from Daxter/feature/dynamic-scope-name

Dynamic scope names
don't translate the string used for f.has_many javascript
Merge pull request #2030 from Daxter/bugfix/1832-has_many-js

[1832] Don't translate the model name for `has_many` JavaScript
Merge pull request #1882 from Daxter/refactor-application.rb

Refactor application.rb
fix potential bug

For example, /3.0/ could match Rails version 4.3.0 in the future