ensure isInsert, isUpdate, isUpsert, and isFromTrustedCode are set in autoValue and custom functions when doing autoform validation and/or submission; fixes #123