Use CakePlugin::loaded sine App::objects also shows non-loaded plugins

I've seen cases where App::objects also shows plugins which are not loaded. This results in very odd behavior.

We should better use CakePlugin::loaded since this gets a list of all loaded plugins.