appengine: refactor generation of base template variables

Move to a single function that is used to initialize them everywhere.
deploy.sh: verify on production branch
Move git info to footer, add branch information
base.html: fix link to point to myria-web commit, not myria-python
Merge pull request #77 from uwescience/commit-id-v2

Commit id v2