Add infrastructure for computing crx-id ourselves

Taken from r126740 of
http://src.chromium.org/viewvc/chrome/trunk/src/tools/crx_id/crx_id.py.