Added support for result=json parameter to runJobs.php

* This can let the caller get info about what was run, just like the web version

Change-Id: I49d7eccee52eb1dc161249fdc0546259ccf1f959
(cherry picked from commit 5dc6ff0f3606746303cc8bf62efbff50fbffb839)