Pagination fix

Adds support for Pagination and upgrades Bootstrap to latest version.
Docblocks throughout this class.