add developer flags for git pull, git branch

Put the UI for git pull and bit branch behind developer flags. @gaurave

Also @ussuri, I simplified the SparkFlags class a bit so that adding a new flag requires fewer code changes.