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