updated for cake > 2.3
Merge pull request #3 from ecommy/master

updated for cake > 2.3