Migration update for pagination helper and lock

Refs https://github.com/cakephp/cakephp/pull/2132