Don't call App::core to find things in the core

When _in_ the core. As a side effect this means the core doesn't use the
constant CAKE itself any more
Merge pull request #5507 from cakephp/3.0-remove-app-core-calls

Don't call App::path to find things in the core