Paginate actions

Addresses #84
Provides generic getPaginationData() function