freeModel function

Free memory used by a librdf model.