Make CommonCookie work with not standard ports.

As stated in http://php.net/manual/en/function.setcookie.php#36202, the
different port shouldn't be added in the domain parameter.
Use the request object to get the host without port.

This is cleaner because the request object is always available and it
has a method to get the host without a port.
Merge branch 'master' into cookies-with-custom-port

Conflicts:
	CHANGELOG.md
Merge pull request #885 from forkcms/cookies-with-custom-port

Make CommonCookie work with not standard ports.