refactor applicaiton.rb
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
Use Rails' url helper in devise.rb's root_path.

This fixes #1791.
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
Fix for issue #2033 - modify the default "delete" batch action to redirect to the collection path via route_collection_path to ensure that the path will work for nested (belongs_to) resources.
* Fixed feature step for submitting batch action form to properly pass the selected rows.
* Corrected the tests in the 'Use default (destroy) batch action' scenario in the batch_actions feature.
Added batch action feature scenario for testing batch action usage with a nested resource.
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
Merge pull request #2034 from tinynumbers/2033-fix-delete-batch-action-redirect

Fix for #2033 - fix the collection_path for 'delete' batch action
pt-PT translation

Added newline to the end of the file
fix MenuItem label sorting of procs

@macfanatic's changes in 452956ec changed label procs to be evaluated in the view context,
but this broke `MenuItem` sorting. This commit pushes the logic back down into `MenuItem`,
and provides a way to pass in an optional context in which to evaluate symbols and procs.

+ forces `MenuItem`-specific logic out of `TabbedNavigation`
+ `items` now handles both sorting and display decisions. Call `children` if you want them all
+ `add` was refactored for clarity
+ integrates fixes from #1988
Merge pull request #2041 from luisramalho/master

Translations for Portuguese from Portugal
Merge pull request #2031 from Daxter/bugfix/2023-menu-sorting

[2023] Fix MenuItem label sorting