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/