Switched to the MIT licence.
Restored frame counting and cancelling feature, made it return the frame id.

Google Chrome now has window.requestAnimationFrame and window.cancelAnimationFrame implemented with these names
which breaks the ugly shim I put in place.