3.0 paginator

Follows https://github.com/cakephp/cakephp/pull/3206