Fixed Remove Material functions

Now deletes for_use relationship between material and project.