Component tests

Fixed most of CrudComponent tests.

One noteworthy change is I change the format of normalized config array for actions and listeners from `['className' => 'Crud.foo', 'config'=> ['extra' => value']]` to ['className' => 'Crud.foo', 'extra' => 'value']. This made array juggling easier. Even in cake core all config keys including `className` are on same level.

Before the PR I have directly pushed few commits to the cake3 branch as I want to get things running :)