made TDDatabase removeDocumentFromCache: private; updated that method to take a TDDocument rather than a doc ID