Pass Controller:$components config to mocked components

Otherwise there can be significant differences in behavior between using
an unmodifiedcomponent in testAction and using a mock as the config will not be
propogated from the controller
Merge pull request #1539 from cakephp/feature/2.4-mock-components-with-config

BugFix: 2.4 mock components with config