Added a test case of rendering an exception as json to ensure the returned url is correct
Added a test case of rendering an exception as json to ensure the returned url is correct

mvdriel/cakephp,petteyg/cakephp,petteyg/cakephp,cakephp/cakephp,ndm2/cakephp,garethellis36/cakephp,berrygoudswaard/cakephp,mvdriel/cakephp,petteyg/cakephp,CakeDC/cakephp,garethellis36/cakephp,cakephp/cakephp,tenkoma/cakephp,garethellis36/cakephp,davidyell/cakephp,ndm2/cakephp,dakota/cakephp,tenkoma/cakephp,CakeDC/cakephp,ADmad/cakephp,cakephp/cakephp,CakeDC/cakephp,mvdriel/cakephp,ADmad/cakephp,garethellis36/cakephp,berrygoudswaard/cakephp,mvdriel/cakephp,ndm2/cakephp,petteyg/cakephp,berrygoudswaard/cakephp,davidyell/cakephp,CakeDC/cakephp,tenkoma/cakephp,dakota/cakephp,tenkoma/cakephp,davidyell/cakephp,dakota/cakephp,ndm2/cakephp,ADmad/cakephp,ADmad/cakephp,dakota/cakephp,cakephp/cakephp