Merge pull request #4110 from antograssiot/3.0

3.0 typos for API
Merge pull request #4114 from antograssiot/3.0

3.0 small typos correction
Add getter mode for logQueries.

This is useful if you want to know whether or not a connection is
currently logging queries.
Set time to midnight as described in #4115

Set time to midnight on date types. 
Prevents behaviour described in http://php.net/manual/en/datetime.createfromformat.php#110385
Corrects problem with paginator component

The paginator component was ignoring the component settings since the getDefaults() method had hard-coded defaults. This prevented setting app-wide paginator settings via the $components property in AppController.
Returning $date

Maybe this fixes the error?
Change getDefaults to use + operator instead of array_merge
Correct order
Update tests
Merge pull request #4124 from dakota/patch-5

Corrects problem with paginator component
Merge pull request #4128 from markstory/3.0-log-queries

Add getter mode for logQueries.
Merge pull request #4119 from Hikkijp/patch-1

Set time to midnight as described in #4115

Fixes issues where date type columns would always reflect the current time.

Fixes #4115
Fix CS errors.
Remove PHP 5.6 builds from allow_failures. They are now passing.
typos and format fixes for API
fix readability for API
remove ref to JsHelper