Use git rev-parse to grab version in upload_shell_binary.py

This works with detached HEADS and so it useful for backfilling shell
binaries.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/685733003