Add interval and timeout features

Closes #38
Add polyfills for setTimeout and setInterval
0.10.0 (core 0.8.0)