Fixes errors in tests with APC installed but not enabled in CLI.
Merge pull request #1437 from Phally/master-apc-errors

Fixes errors in tests with APC installed but not enabled in CLI.
Added missing test + minor cleanup of ViewTests.php

Added missing block reset test through assign().
Also made some minor cleanup in ViewTests.php. Mostly docblocks (params, returns) but also some unused variables.
Merge pull request #1441 from ravage84/ViewTestsCleanup

Added missing test + minor cleanup of ViewTests.php
Replaces deprecated paginate() calls in controller bake templates.

Fixes #3895.
Merge pull request #1443 from Phally/master-3895

Replaces deprecated paginate() calls in controller bake templates.
Fixes cake bake all. Refs #1443.
Merge pull request #1445 from Phally/master-3895-2

Fixes cake bake all. Refs #1443.
Paths for App::build() require trailing /.
Merge pull request #1447 from Phally/master-bootstrap

Paths for App::build() require trailing /.