7/8 Code review

General points:

- Need integration tests
- Need better test coverage in general (including some jasmine testing where appropriate)
- Modularize all javascript with object literals -- there's still too much spagetti code in the global namespace (eg. flashcards.js)

Check out these jasmine tests to get the juices flowing:
https://github.com/velesin/jasmine-jquery
https://github.com/pivotal/jasmine-gem