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
Update build scripts to fetch new changes.

Prevent future mistakes when creating tags by always fetching the branch
head before bumping version numbers or creating tags.
Add an additional test for CakeRequest::referer().

Trying to track down the issue for #3897. This test coverage was
missing, so fix that.
Fix issue where redirectURLs were not generated correctly.

When the first path segment matches the base path an incorrect URL was
generated. Trimming slashes off makes Router normalize the URL correctly
as the leading / implies that the base is already prepended.

Fixes #3897
Fix for #3318

Fixes https://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/3318

It seems fixing this in the htaccess file(s) isn't going to work even though a url rewriting based solution was more clean. On the plus side this works for any web server.
If a url is called with "index.php" in it then the CakeRequest swallows this part and fixes the path. Any linked url from the requested page will have a clean url. Thus after following one of these urls this problem is gone anyway.

Some code docblock improvements to CakeRequestTest.php
Added test case for fix
Also now you can call just index.php even if you have url rewriting enabled