Merge pull request #113 from inthause/documents

Add Http/Rest/Query
FIX post delete document references cleaning (tree, metas, relations)