Pull out some re-used subpatterns.
Pull out some re-used subpatterns.

Having smaller segments makes reading the larger patterns simpler, and
allows for less duplication across the various patterns.

Refs #2436

berrygoudswaard/cakephp,mvdriel/cakephp,petteyg/cakephp,tenkoma/cakephp,justinyost/cakephp,dakota/cakephp,tisu2tisu/cakephp,cakephp/cakephp,Balachan27/cakephp,bravo-kernel/cakephp,cakephp-fr/cakephp,gmponos/cakephp,akintoey/cakephp,dakota/cakephp,justinyost/cakephp,khoimt/cakephp-study,michaelze/cakephp,et304383/passbolt_api,yinhe007/cakephp,erikfig/cakephp,akintoey/cakephp,elboletaire/cakephp,timhoeppner/cakephp,jjj117/cakephp,tisu2tisu/cakephp,davidyell/cakephp,khoimt/cakephp-study,pbaire/cakephp,jerems02/cakephp,adopico/cakephp,adopico/cakephp,tgr0ss/cakephp,timhoeppner/cakephp,jerems02/cakephp,et304383/passbolt_api,akintoey/cakephp,mvdriel/cakephp,mvdriel/cakephp,eryw/cakephp,et304383/passbolt_api,ndm2/cakephp,burriko/cakephp,michaelze/cakephp,gmponos/cakephp,davidyell/cakephp,burriko/cakephp,elboletaire/cakephp,thinkingmedia/cakephp,ADmad/cakephp,garethellis36/cakephp,erikfig/cakephp,tgr0ss/cakephp,cakephp/cakephp,gmponos/cakephp,tenkoma/cakephp,HavokInspiration/cakephp,ADmad/cakephp,davidyell/cakephp,bravo-kernel/cakephp,eboominathan/cakephp,CakeDC/cakephp,Balachan27/cakephp,CVO-Technologies/cakephp,yinhe007/cakephp,tgr0ss/cakephp,jeffblack360/cakephp,kumamidori/cakephp,kumamidori/cakephp,elboletaire/cakephp,nrother/cakephp,pbaire/cakephp,adopico/cakephp,CakeDC/cakephp,cakephp-fr/cakephp,thinkingmedia/cakephp,khoimt/cakephp-study,petteyg/cakephp,Phillaf/cakephp,web-player/cakephp,ionas/cakephp,garethellis36/cakephp,CVO-Technologies/cakephp,justinyost/cakephp,CakeDC/cakephp,thinkingmedia/cakephp,ionas/cakephp,eboominathan/cakephp,CakeDC/cakephp,web-player/cakephp,ndm2/cakephp,nrother/cakephp,garethellis36/cakephp,eboominathan/cakephp,ADmad/cakephp,dakota/cakephp,cakephp/cakephp,HavokInspiration/cakephp,tenkoma/cakephp,ndm2/cakephp,ionas/cakephp,Balachan27/cakephp,dkarvounaris/cakephp,bravo-kernel/cakephp,nrother/cakephp,jerems02/cakephp,mvdriel/cakephp,HavokInspiration/cakephp,petteyg/cakephp,tenkoma/cakephp,Phillaf/cakephp,et304383/passbolt_api,jeffblack360/cakephp,garethellis36/cakephp,jjj117/cakephp,ndm2/cakephp,tisu2tisu/cakephp,erikfig/cakephp,eryw/cakephp,CVO-Technologies/cakephp,berrygoudswaard/cakephp,jjj117/cakephp,web-player/cakephp,dakota/cakephp,cakephp/cakephp,eryw/cakephp,dkarvounaris/cakephp,cakephp-fr/cakephp,pbaire/cakephp,dkarvounaris/cakephp,kumamidori/cakephp,burriko/cakephp,jeffblack360/cakephp,et304383/passbolt_api,timhoeppner/cakephp,berrygoudswaard/cakephp,ADmad/cakephp,petteyg/cakephp,Phillaf/cakephp,michaelze/cakephp,yinhe007/cakephp