Updated documentation
* Removed references to nonexistent `AclBase` class
* Added references to `AclInterface` requirements
Merge pull request #3297 from young-steveo/AclComponent-documentation-fix

Updated AclComponent documentation
Trim $sql before checking for SELECT
Merge pull request #3301 from ubermaniac/Sqlserver-trim

Trim $sql before checking for SELECT
Correct types for Validation::range().

Refs #3304
Add newline after actions in controller template
Fix failing NoActions comparison test
Merge pull request #3316 from bcrowe/hotfix-controller-template

Add newline after actions in controller template
Fix closing non resource

I get a load of these errors when running tests in the shell, this check stops the errors from happening

Warning: 2 :: fclose() expects parameter 1 to be resource, integer given on line 298 of CORE\Cake\Console\ConsoleOutput.php
Trace:
fclose - [internal], line ??
ConsoleOutput::__destruct() - CORE\Cake\Console\ConsoleOutput.php, line 298
ToolbarComponent::_saveState() - APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php, line 307
ToolbarComponent::beforeRedirect() - APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php, line 307
ObjectCollection::trigger() - CORE\Cake\Utility\ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::redirect() - CORE\Cake\Controller\Controller.php, line 765
AuthComponent::_unauthenticated() - CORE\Cake\Controller\Component\AuthComponent.php, line 364
AuthComponent::startup() - CORE\Cake\Controller\Component\AuthComponent.php, line 304
ObjectCollection::trigger() - CORE\Cake\Utility\ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 675
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 182
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 160
Merge pull request #3319 from dogmatic69/patch-1

Fix closing non resource
Merge branch 'master' into 2.5