Fixed some typos in core.php

In sync with this one https://github.com/cakephp/cakephp/pull/1244
Merge pull request #1245 from ravage84/patch-4

Fixed some typos in core.php