Backporting from 2.4 fix for booleans in mysql when running PHP 5.5
Backporting from 2.4 fix for booleans in mysql when running PHP 5.5

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