Add support for branches

Added an optional [branch] parameter to zgen-load and zgen-completions.
A branch name is appended to repository's path.