fpsMogwai: use requestAnimationFrame shim for browser compatibility

Closes #50
Merge pull request #71 from marmelab/request_animation_frame_shim

[RFR] fpsMogwai: use requestAnimationFrame shim for browser compatibility