Added -S option to register OAuth app with scopes.

-S option takes key=value pair. key must be 'name' and 'display_name'.
Both name and display_name are required if -S option is provided.