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