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
Rearrange some angular pagination code, update ranges after query updates
Dry up work package updates
Fix sum calculation
Remove unused dependency
Preserve blank option for groups drop down to allow for deselection
Remove pagination options from query for now, reset page when filtering
Merge pull request #976 from opf/feature/ui-component-table-widgets-pagination-directive

Feature/ui component table widgets pagination directive