WIP Added a directive for table pagination.

Currently only supports per_page and not page number.
Wired up the page number selection.
Getting per page options from settings, not hard wired.
Add / remove some semicolons
Remove hg-click from currently selected per page option
Minor refactoring of table pagination helper
Fix upper page bound calculation
Slightly dry up work package table updates