Added parameters to beforeSave and afterSave

Errors show up in cakephp 2.5 regarding beforeSave and afterSave needing to match the core functions.