Make CakePlugin::loadAll behave correctly regarding merging of settings.
update doc block
move cast up
Merge pull request #3261 from dereuromark/2.5-load-all

2.5 load all