Change pagination functions in BaseCollection.

use url function to construct params for pagination
Add stubs and placeholders for generic pagination and filtering views.
Fix method name in BaseCollection, update styles and filterview.
Add ordering to widget.
Add alternative trailList view which uses the generic listview.
WIP
render number of pages.
Listen for click events on page links and add some js bugfixes.