Migration to CakePHP 2.x

Migration ClearCaches plugin to cakephp 2.x