Fixes #1650; Adds YARPP support for custom post types
Fixes #1644; Adds support for offset in pagination handler