added RestrictError, a test for it, and usage in Model.delete() for it.
Merge pull request #35 from pconerly/restrict-error-on-delete

added RestrictError, a test for it, and usage in Model.delete() for it.