tested possibility to check delete constraints  on ->commit and not on ->delete()
added missing reset of restricted records list - seems to be not tested
Merge pull request #5 from sigma-z/dev_glady

check delete constraints on commit and not on delete