made scopes optional and 
added additional request param in OAuth2Error __init__