base/deploy: receive the git refid (commit hash, branch, tag, etc.)

Related to globocom/tsuru#458.
base/deploy: changing directory back to the old pwd
static/deploy: receive the git refid (commit hash, branch, tag, etc.)

Related to globocom/tsuru#458.
python/deploy: reuse base deploy script