optimise download file
fix multi connection/part downloading file
Fixing typo
update tests
update tests
Merge remote-tracking branch 'cakephp/master' into 2.x-fix-download-multi-connection
Add an easy way to set callback priorities for behaviors

Behaviors often use priorities, make it easy to define the priority
of callbacks a behavior provides when binding it to a table.
Improve method mapping in BehaviorRegistry.

* Omit methods on base class.
* Use ReflectionClass instead of global functions.
* Ignore methods starting with _. This omits methods like __construct
  and other PHP magic methods.
* Make method lookups case insensitive as this is how PHP works
  internally as well.
Merge pull request #2199 from ravage84/gitattributes

Added a .gitattributes file to set the line ending behavior when checkin...
Fixing code review problems
Renaming the append method to epilog, as it causes less confusion
Refactoring tests to use less repeated code
Extracing a hard coded id into an static variable for the Table test
case
Adding the ability to extract only dirty properties in Entity::extract
and refactoring Table::save to use this new feature
Merge pull request #1 from cakephp/3.0

3.0
Replaced array() with []
Replaced array() with [] in Object.php
Replaced ocurrences of array() with []
Replaced ocurrences of array() with []
Merge pull request #2220 from Cameri/3.0

3.0 Replaced array() ocurrences with [] in lib/Cake/Core