Added general purpose tear down method for deleting entities.

There was no way to cleanly remove citation (or any other entity). Added
delete function to entity base: removes all links so can delete internal node 
safely, then deletes internal node.