Initial attempt to get authentication working.
Seems to be working with basic auth but not oauth.
Initial working code for closing notes using authentication.
Other network operations are definitely broken right now. More fixes coming
Fixing note creation and commenting.
Merge pull request #1 from iandees/authentication

Merging authentication branch.