fixed issue with adding boolean results to results
Added basic CakePHP detection