Add a Scope property to ResolutionException.

ResolutionException is currently only used for TypeReferences so it
will always be non-null, but if/when ResolutionException is used for
other things -- such as FieldReferences -- it can be null.

This could be retrieved by casting the `Member` property, but I think
this is a much less hacky approach.