Started building initial mongo db stuff

Installed mongoose, setup placeholder objects, got stuck trying save.
Mongoose intial setup

- Added mongoose
- setup basic db integration
- setup all initial socket interactions
- Set up functionality for:
  - casting a vote
  - socket update for results page

TODO: redirect user to results page on vote submit.
Refactored app.js

did some refactoring of app.js, there is still more that could be done
to clean it up.
Restructured core code

Moved app files to /src, created new class files for vote, ballot,
resources, results.
Added user callback on vote submit

redirects to vote results page.
Merge pull request #7 from thundertech/template-setup

Initial template setup