[SPARK-4325] Use pssh.

Replace some bash-isms with pssh to neatly parallelize cluster operations.

Also, decrease questionably high sleep times.
I'm not sure what this line is for. Presumably, if we've SSHed to `$MASTERS` and `localhost`, we don't need `` `hostname` ``, no?