Began work on making authentication a module. Started on authentication tests.
More module work
Put passing authentication tests, bug fixes.

Fixed the issue keeping the authentication module from working.
Added authentication to the http methods that needed it.
Tests for delete and persistent authentication.
Merge branch 'authentication' of http://github.com/rtoal/chuzr into authentication
Added tests for product accepting authentication and started tests for denial.
Lots of changes to the structure of authentication. Now actually working as a module.

Some leftover code was giving the illusion that the authentication was
working as a module, but it wasn't. The way the app reads in the
controllers prevented it from working properly, so I moved it to a
seperate directory and required it seperately from the other
controllers.
Added authentication to coupons and tests for the same. All tests passing.
Added tests for vote authentication. All passing.
Merge https://github.com/rtoal/chuzr into authentication
Merge branch 'authentication' of http://github.com/rtoal/chuzr into authentication
Fixed a bug in the user controller.
Merge branch 'front-end' into authentication
Fixed a status code
That last one should have been a 400 rather than a 500
Started setting up the webapp to use sessions. Also created a config file for the webapp.
More work on getting sessions working. Split up the url parameter in config to multiple parameters. Added connect-mongo to dependencies.
Changed the url for the session to just use the database url. Web-app launches now.
Added a hook to hash the password on save using bcrypt and a method to check a password. Implementation is open to change, since there seem to be a variety of ways to do this.