added some documentation to core, removed needless closures from request/cancelAnimationFrame
added some documentation to core, removed needless closures from request/cancelAnimationFrame

cesarmarinhorj/core,cesarmarinhorj/core,enng0227/core,Katochimoto/core,Katochimoto/core,enng0227/core