Add a Scope property to ResolutionException.

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