Added generic PDO paginator.