Modified jobs-loop script to keep a fuller pipeline.

* This helps the most when jobs are long and scattered among types/wikis.
* Renamed "types" => "hptypes" to be less confusing.

Change-Id: Ic775062b52abcafcf3f6e3af5c309b48b556a804