Issue #144: Deduplicate quads in the extraction server

When extracting quads from the extraction server, we should
deduplicate quads so that we get a similar result to that
produced by the extraction framework
Merge pull request #146 from ninniuz/144_duplicate_quads

Issue #144: Deduplicate quads in the extraction server