Destroy model with temp id

If a model with a temp id is destroyed, then the callbacks should be invoked too.
Good call. While looking at this, I noticed also that line 211 should use `hasTempId()`.