Fix hardcoded cool down time in error message
Wait for git-nw-repack procs to finish before transferring repositories

Fixes a potential issue with in progress git-nw-repack processes
finishing while the rsync transfer is in process, which could result
in pack files being removed before they're transferred.
Add a comment about the bracket synta[x]
Generalize 'git-gc processes remain ...' error message

The error message is a bit misleading since this can match git-gc
and git-nw-repack processes now. The point here is to convey that GC
processes didn't complete within the cooldown period, though, so I
think it's fine to generalize a bit here instead of listing the
various GC commands.
Merge remote-tracking branch 'origin/wait-for-nw-repack'
Add update_restore_status to ghe-restore to keep manage in the loop during migrations
Remove sudo and put the status file in /tmp since it's on 340 and 2.0 series
use a trap instead of sprinkling failed status everywhere
bring back the null redirection
Do version detection. Nothing below 2.0 needs status since we don't migrate that way.
Merge pull request #14 from github/add_restore_status

Add restore status to ghe-restore
Merge remote-tracking branch 'public/master'
Merge remote-tracking branch 'public/master'
ghe-host-check detects wrong port failure on 22, falls back to 122
ghe_remote_version_required uses host:port determined by host-check
Use GHE_HOSTNAME from environ instead of backup.config when set
Fix up tests to expect port number
Remove debug output
Use GHE_HOSTNAME everywhere for port detection
Misc cleanup