asserting that tree behavior generates valid sql in recover
Fix rules set being updated with array instead of CakeValidationRule objects. Closes #3367
cascade false for recover
fix tabs to spaces
fix all warnings except TODO warnings
Remove all todo from core, create tickets for them
Merge pull request #955 from dereuromark/master-tree-fixes

Asserting that tree behavior generates valid sql in recover

Fixes #3366
Fix notice errors when creating fields named 0.

Fixes #3371
fix coding standards, remove break after return/continue
Add descriptions to top level tasks.
Check if bool operators in find conditions are empty.
Unit tests added.
Added accidentally removed tests back in.
Send charset in Content-Type when Content is JSON.
Send charset=UTF-8 if Content-Type is JSON.
Changed else if to elseif.
Add test for Content-Type JSON and charset.
Fix Set::merge() failing to merge correctly.

When merging 3 values, and the 2nd was empty, the resulting
merge was incorrect.

Fixes #3384
Fix warnings from file_get_contents() in Xml::build()

Use HttpSocket to get proper exceptions when trying to load XML from
remote servers.

Fixes #3379
Merge pull request #959 from ceeram/phpcsw

Make phpcs pass