Add optional timeout parameter to gyield
Add tests, adjust some minor tweaks, and used functions that are compatible with tornado 3.2
Merge pull request #1 from pfultz2/gyield-timeout

Add optional timeout parameter to gyield