Added getScopes and setScopes methods to IdentityProvider.

Helpers to get and set scopes.