cs corrections

CS corrections according to http://book.cakephp.org/2.0/en/contributing/cakephp-coding-conventions.html