run.sh: adds --timeout option to set max run time

Use --timeout option to **optionally** set timeout for a script.
By default the run.sh will not have a default timeout.

The time can be specified as seconds or mm:ss or hh:mm:ss.
--timeout 90     : timeout after 90 seconds
--timeout 1:90   : timeout after 1 minute and 90 seconds
--timeout 2:1:90 : timeout after 2 hours 1 minute & 90 seconds

Change-Id: Ie2b8d66664236dc71b092ae202686d9548a03270
(cherry picked from commit 96bcadfec96435a13e618d70eca53c2391cf63fb)