Merge pull request #1379 from ravage84/datasource-api-link

Added a related cookbook link to DataSource.php
Set extension with multiple accept based on order in parseExtensions, currently with multiple accepted types, no extension is set at all
Merge pull request #1368 from planardothum/url-conformance

Url conformance
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
Add option to send email attachment from string (not only from file).

I would be very pleased if this option would be available in some
future version. Thank you.
Add emailRegex property to CakeEmail
CakeEmail be able to setting custom email validation rule
Test to proof that render itself should handle the boundary.
also move protected variable resetting into the correct scope
Allow escaping only attributes of a link and not it's title
CakeEmail::emailRegex() change to null default value
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
Merge branch 'master' into 2.4
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
change emailRegex to emailPattern