Merge pull request #76 from uwescience/dhalperi-commitid

Awesome sauce.
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