added AR callbacks on destroy for deleting version records when a document is deleted.