Add default options during installation. Abstract pagination functionality.
Use constant to set per page.
Add pagination tests.
Merge branch 'sync-pagination' into develop