Reinstate AggregateError interface
Created by: lguychard
From https://github.com/sourcegraph/sourcegraph/pull/6246#pullrequestreview-309286218:
This interface would still be good to keep (and export) so that a consumer can check if an error is an aggregate error and iterate over the errors