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: Iafab2e823fbe5145913b654c25dc3473d9523bb9
Merge "Modified jobs-loop script to keep a fuller pipeline." into production