added unit tests, integration tests, tests for upvoting and downvoting questions and solutions, tests for getting favorites, and a database stub as part of the integration tests. Added support for getting favorites. Refactored code, conformed to style. Fixed several other bugs.
code review changes
code review changes 3
Merge pull request #165 from dcs24/master

Bunch of changes