Fix race in upgrades

1. The node may not be pingable before the `rt:upgrade` returns, so we `wait_until_pingable` before the return.
2. Now you can specify the `upgrade_version` on the command line with the `-u` flag.