Lots of minor updates.

Added unit tests for caching classes. Removed unused classes. Added unit tests for users and guests.
Added unit tests for JasmineController.