Added the ability to subscribe handlers to ajax events
Remove group option as Rails 4 removed assets group
Add `#tree?` predicate method

Used to simplify whether or not the sort method is tree or list.
Simplify sort URL path

Use the current resource's `sort` action, which handles nested and
non-nested resources.