refactor applicaiton.rb
Use Rails' url helper in devise.rb's root_path.

This fixes #1791.
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
#2039 Accept block for download_links
#2039 Ensure that download_links supports stabby proc syntax `-> {}` by using `instance_exec`
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
Merge pull request #1791 from quark-zju/1791-fix-signout-redirect-in-scoped-route

Signing out redirects incorrectly when activeadmin route is scoped
update docs to include associated sorting

closes #1977
add multiple http verbs for member actions
update specs
improved gradient browser support
Merge pull request #2000 from rdsoze/1936-add-multiple-request-methods-for-member-actions

add multiple http verbs for member actions