properly delete grid relations when deleting a content type.
remove old stub after changing content type name. fixes #197