return non-nullable DIDDocument on Resolver.resolve() (#21) (2753e3e)
BREAKING CHANGES
The Resolver.resolve() method throws an error (rejects the promise) if the DID document returned by the respective method is null.
Also, null documents are not cached.