[sdb] Add a MethodMirror:GetScopes () method which returns scope information.