updates cakephp to 2.4.1
fixes method signatures after CakePHP 2.4.1 update
fixes method signatures after CakePHP 2.4.1 update
code formatting