Camel case SecurityComponent::blackHole() method call
Merge pull request #1469 from sime/blackHole-camelcase

Camel case SecurityComponent::blackHole() method call
CS fix.
Removing legacy code that will not work on current versions of phpunit,
fixes #3955
Merge pull request #1470 from uzyn/csfix

CS fix.
Make CakeRoute::persistParams() more tolerant

Subclasses and instances may not always define persist options.
CakeRoute should be accepting of these differences.

Fixes #3957
Remove duplicate code.

The conditions for persistParams() work should be self contained. Remove
this duplication.
Fix clearing files in multiple groups.

When using multiple groups on a cache config, clearing was not working
properly. Clearing un-used cache configs also failed when the
directories did not exist.

Fixes #3930
fix cs
Move disabling of bootstrap mode to after init().

init() loads from the cache which can autoload additional classes. For
example the FileEngine adapter loads Inflector. Loading additional
classes causes the file_map cache to be re-written on each request when
using FileEngine. This results in degraded performance when using
FileEngine.

Fixes #3947
Fix error when clearing FileCache.

I made a mistake in a previous commit that did not account for dir()
returning directory names.
Unlink files with full path.