MB-11060:  Jenkins build result JSON may have parameters at non-zero location

The show_latest cgi scripts are written to parse the JSON returned
from the Jenkins API, matching the parameters from a given execution
instance against those of the requested build.  These functions were
written assuming tht the parameters array was at actions[0].

Fixed for latest_done_server but not for other queries.

Change-Id: Ibf7a4e1a34ed9facaf026d94f5ec817b5446f670
Reviewed-on: http://review.couchbase.org/41818
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>