Fix to the date input year field

Create the field if no value is informed only to the maxYear and not to
the current date.
Cleanup from previous commit.

Refs #GH-1352
Merge branch 'luksm-master'

Closes #GH-1352
Fixed typo in AuthComponent::redirectUrl
Merge pull request #1367 from ravage84/patch-1

Fixed typo in AuthComponent::redirectUrl
Add ordering to prevent occasional pgsql failures.
Make ScaffoldView extend View instead of deprecated ThemeView
Fixed "delete" translation string bug
Formatted code

Formatted code to conform to style guide
Merge pull request #1372 from wernerhp/master

Fixed Scaffold view "delete" message translation string
tests to disprove that input date and partial dateFormat does not work
fix issue with FormHelper and undefined variable and extract
Changed http links to lighthouse, groups.google and github to https

Because they get redirected anyway and we should follow good practices.
Also in many cases similar URLs were already using https
Merge pull request #1376 from ravage84/https-links

Changed http links to lighthouse, groups.google and github to https
Added a related cookbook link to DataSource.php
Merge pull request #1379 from ravage84/datasource-api-link

Added a related cookbook link to DataSource.php
Annotated testReconnect
Fixed @return statement in DboSource::disconnect
Merge pull request #1382 from ravage84/dbosource

Fixed @return statement in DboSource::disconnect
Merge pull request #1381 from ravage84/patch-1

Annotated testReconnect