Return a requestID from requestAnimationFrame, add cancelAnimationFrame.

This makes our shim match the standard implementation in features.
Merge pull request #878 from AnalyticalGraphicsInc/requestAnimationFrame

Return a requestID from requestAnimationFrame, add cancelAnimationFrame.