Remove use of WEBROOT_DIR from CakePHP.

This constant isn't really used that much and can easily be replaced
with the `App.webroot` config value.

Refs #4664
Merge pull request #4670 from cakephp/issue-4664-webroot

Remove use of WEBROOT_DIR from CakePHP.