Add pagination options

Code added from ‘fuchsws’ on wordpress.org:
https://wordpress.org/support/topic/no-facebook-and-only-30-posts?replie
s=15#post-6248856
Optimize report pagination; closes #15