Updated the version shim and samples to handle latest changes

Timestamp now passed to rAF and new input enums. Plus I finally figured
out how to monkey-patch a static method.
7 files changed