Merge pull request #1656 from dereuromark/master-validation-rules-casing

Fix casing of validation rules in bake
Fixed TreeBehavior::recover() when using scope. Fixes #4062.
Merge pull request #1657 from ADmad/bugfix/tree

Fixed TreeBehavior::recover() when using scope. 

Fixes #4062.
simplify tests
add missing create() for creating a new record.
Merge pull request #1658 from dereuromark/master-tests

correct and simplify tests
Fix test
Rename `serializer` to `serialize`
Add doc about the new serialize setting
Use array_key_exists instead of isset()

This allows contains() to work with null values.

Fixes #4083
Output overall coverage.
correct doc block
Merge pull request #1662 from dereuromark/2.5-coverage

2.5 coverage
Merge branch 'master' into 2.5
Case insensitive validation inList option. Resolves ticket 3521. Added two tests to proof the faulty behavior of $strict here. Also address the faulty behavior in multiple() and replace it with case sensitivity.
Updated doc block readability in bootstrap.php
Merge pull request #1668 from bcrowe/hotfix-bootstrapdocblock

Updated doc block readability in bootstrap.php
Use instanceof instead of is_a() in Controller.php
Merge pull request #1669 from bcrowe/hotfix-instancecheck

Use instanceof instead of is_a() in Controller.php
is_a() to instance of - completes PR 1669