Move the diff viewer whitespace toggles into the new objects.

The Show Whitespace Changes and Show Extra Whitespace toggles now live
in the new objects and interact with the DiffReviewableViews to change
the state.

The cookie management now lives in UserSession. Callers just need to set
an attribute and it will update the cookie. This change introduces
jquery.cookie for actually setting and getting cookies, because
JavaScript's native cookie support is terrible.
Clean up imports in hostingsvcs and scmtools tests

This cleans up the now-obsolete md5-vs-hashlib fallbacks, as well as imports
much more specific items (in most of scmtools/tests.py's imports, we only cared
about a single symbol).

Testing done: Ran unit tests.
Reviewed at http://reviews.reviewboard.org/r/4294/