limit waitFor steps with current script timeout using proces.hrtime()
added test for waitFor timeout
Merge pull request #31 from briangough/fix-waitfor-timer

Limit the waitFor to use the script timeout