Fix beforeSave infinite loop
Fix beforeSave infinite loop

This may be a bug in Phalcon - without this check, the `beforeUpdate`
function and the event fired from `$version->create()` hits the maximum
recursion limit.

stecman/passnote,stecman/passnote,stecman/passnote