refactor(pagination): Put the current page in the middle for better UI/UX and refactor the code a bit as the .defer stuff was not required.
Make the tests pass
feat(ajaxtable): Added sort options to the AJAX table.
Merge pull request #50 from mattlewis92/improved-pagination

Improved pagination - current page in the middle
Merge in other branch
Merge branch 'master' into sortable-ajax-table
Keep the pagination object config flat
Merge pull request #51 from mattlewis92/sortable-ajax-table

feat(ajaxtable): Added sort options to the AJAX table.
Merge branch 'master' into customise-icons