Add method to baseclass for easy deletion of object. Add methods for replacing and purging materials.
Revert change of self.model to obj.Model in 16b309be06
Merge pull request #40 from FRidh/master

Revert obj.Model, add method for deleting object and methods for materials