Added operation getRelations* into DocumentProcessor (interface for automatic relation recognition)

(cherry picked from commit 64f56ede0d8a2474841e7d9dfe4bc96c5b842371)
Merge branch 'client'