Final changes. Because of the way the contraint handler does delete
checks, the check self check requires changes in the storage layer
specific checkNotReferenced() code. This will require updating the
fdb-storage layer as well.