Fix python2.6 deprecation warnings (still 4 failures 5 errors in test suite).
* bzrlib/osutils.py: Wrap md5 and sha imports to be compatible with python 2.4, 2.5, 2.6. Replace all sha.new() calls by sha() calls they are reputedly faster (not profiled).
* bzrlib/weave.py: Update sha import, fix use.
* bzrlib/transport/http/_urllib2_wrappers.py: Update sha and md5 imports, fix uses.