Add timeout unit tests
Reimplement the timeout operator and fix timeout bugs
Rename the files
Add the missing License
Merge pull request #851 from zsxwing/timeout

Reimplement the timeout operator and fix timeout bugs