Dedupe streaming endpoint events.
Merge branch 'unstable_predupsort_stream_dedupe' into unstable_predupsort

Conflicts:
	db/shard_test.go
	server/server_event_handlers_test.go
	server/server_handlers_test.go