Fix issue 4116 and also merge both versions of home.ctp

Resolves https://cakephp.lighthouseapp.com/projects/42648/tickets/4116-pageshomectp-imprecise-url-rewriting-is-not-configured-error

Also merges both versions in APP and CORE.