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