Adds scope query parameter

So code flow can have customizable scopes.
Protect against undefined options
Fix defaults for scopes
Merge pull request #11 from OADA/scope-query-param

Adds scope query parameter
Add missing dev-dependency