Autotest: Update RPC, Scheduler and AFE to use timeout_mins.

Now that timeout_mins is in the database, we need to update the
infrastructure to display and utilize timeout_mins rather than
timeout.

The scheduler now aborts based off of timeout_mins.

The afe displays/creates jobs using timeout_mins rather than timeout.

The RPC's take in timeout and timeout_min depending on what is inputted
to the system. Note the value supplied for timeout_mins takes precedence
over timeout.

BUG=chromium:221264
TEST=Created job through AFE, run_suite with smoke suite, job_unittest
and rpc_unittests.
DEPLOY=apache, afe, scheduler

CQ-DEPEND=I09f8b6023a31dcef37e98c298dc0d63b37bc0a9e

Change-Id: I838cd1ff85a2ce6bd49fe96bf18fd82be608c758
Reviewed-on: https://chromium-review.googlesource.com/176605
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
diff --git a/frontend/afe/rpc_utils.py b/frontend/afe/rpc_utils.py
index 3628d90..b126aff 100644
--- a/frontend/afe/rpc_utils.py
+++ b/frontend/afe/rpc_utils.py
@@ -698,9 +698,9 @@
 def create_job_common(name, priority, control_type, control_file=None,
                       hosts=(), meta_hosts=(), one_time_hosts=(),
                       atomic_group_name=None, synch_count=None,
-                      is_template=False, timeout=None, max_runtime_mins=None,
-                      run_verify=True, email_list='', dependencies=(),
-                      reboot_before=None, reboot_after=None,
+                      is_template=False, timeout=None, timeout_mins=None,
+                      max_runtime_mins=None, run_verify=True, email_list='',
+                      dependencies=(), reboot_before=None, reboot_after=None,
                       parse_failed_repair=None, hostless=False, keyvals=None,
                       drone_set=None, parameterized_job=None,
                       parent_job_id=None, test_retry=0, run_reset=True):
@@ -791,6 +791,7 @@
                    control_type=control_type,
                    is_template=is_template,
                    timeout=timeout,
+                   timeout_mins=timeout_mins,
                    max_runtime_mins=max_runtime_mins,
                    synch_count=synch_count,
                    run_verify=run_verify,