add an instance config trait
add read only test
phpcs fixes
phpcs fixes
Update controller task to use magic get.

Now that association objects can be accessed using `__get()` bake can
have shorter syntax in the generated actions.
they should _not_ declare a config property
Merge pull request #3119 from cakephp/controller-bake-update

Update controller task to use magic get.
determine read/write from the number of func arguments

rather than whether the value is null. Prevents problems with for
example:

	$inst->config('setthis', 'some value'); // or the default
	...
    $something = $couldBeNull;
	$inst->config('setthis', $something);

which would be pretty confusing.

Also add the possibility to delete a config key - same use case/example
as above
phpcs fixes

and add a test for when deleting should fail
Merge pull request #3116 from AD7six/3.0-config-core

add an instance config trait
update Controller NS to be settings -> config()

Ref #2298
make use of the instance config trait
nolonger used
change default config to be an instance property

Apparently left over from the first behavior itteration
use config method in behaviors
Merge pull request #3112 from AD7six/3.0-config-controller

update Controller NS to use config, not settings
Merge pull request #3117 from AD7six/3.0-config-model

Update behavior config usage
Remove TODO item

now ticketed as #3122
Start updating ViewTask.

Fix template name generation for prefixed actions. Since actions no
longer have prefixes in the names we can't use that as as way to
find the prefixed templates. ViewTask still supports using `admin_add`
as a way to generate `Foos/Admin/add.ctp` though. Add/Edit actions will
fallback to a `form` template if it exists.
Add controller() method and various other fixes.

The new method makes it easier to work with controller classnames by
centralizing some logic. It also makes testing much easier.