modify pager widget to handle boundary conditions; now takes a Dataset instead of a Query so that it has access to the record count; add tests
Merge pull request #386 from kielni/pager-widget

[widget][s]: modify pager widget to take a Dataset and to handle boundary conditions better.