correct spelling mistake
Removing extra whitespace, phpcs fix
Fixed some typos in core.php
Fixed some typos in core.php

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

Fixed some typos in core.php
Merge pull request #1245 from ravage84/patch-4

Fixed some typos in core.php