Unit test skeleton

This pull request can get us ready for unit testing:

- Adds `nose` dependency
- Sample auth test

See the commit messages for more details. This resolves #4.
Up to you guys on if you want to merge this and where (perhaps a feature branch instead of master).