added getGitRevision function to get current git revision.
changed svn export to git export
created dist src export path
added branch name to package names

now that buildbot builds branches, it'll be handy to see that branch
name in the package name.
fixed "hm dist src" command to support branches

also allowed non-unix platforms to run src