Updated Travis to use Go 1.2
Started timeToWait func.