Try to open the authentication url in a browser.
Merge pull request #7 from rce/open-browser

Try to open the authentication url in a browser.
Remove the flag to disable oauth.
Fix the usage of the query now that it does something.
Make use of the local browser selectable.

- Use a struct to hold configuration/options
- Put command line parsing into its own function
- Add a flag to disable opening the auth URL in a browser
Merge pull request #8 from pcn/option-to-disable-browser-open

Make use of the local browser selectable.