FIX post delete document references cleaning (tree, metas, relations)
Merge pull request #114 from inthause/documents

FIX post delete document references cleaning (tree, metas, relations)