Merge pull request #928 from dingpinglv/Iss2144_RewriteParticleBatchNode

fixed #2144 Rewritten cc.ParticleBatchNode
Prevent reference errors due to undefined document.ccConfig
Audio Engine should expose its supported formats so games can provide the only the one which they think fits their needs the best
Add support for force deletion of the stored cc.HashElements in cc.ActionMangager when calling removeAllActionsFromTarget. This solves an issue where actions create with cc.RepeatForever.create would not leak in the ActionManager when the target object never receives another call to its update() method. This could happen when the parent object got destroyed but the child kept a reference to its parent. Resulting in a circular reference causing the parent to leak with the target of the action, which could potentially leak the whole game. Games which are affected by this leak should call cc.ActionManager.removeAllActions() when their state is being reset / or they are relaunched
Reduce GC load by actually letting the JIT optimize the creation of new cc.Point and cc.Size instances via cc.p and cc.size
Add in place variants for a number of cc.Point extensions
Perform a number of optimizations to reduce overall GC and memory load of the Particel System
fixed #2160 fixed a bug that cc.TouchDispatcher can't touch when webpage has been scrolled on firefox and IE
Switch back to correct function for determining the format of the Image data
Merge pull request #931 from dingpinglv/Iss2160_FixCCTouchDispatcherBug

fixed #2160 fixed a bug that cc.TouchDispatcher can't touch when webpage has been scrolled on firefox and IE
Merge pull request #932 from zynga/optimizations-fixed

Performance Optimizations and Bug Fixes
fixed #2144 fixed a bug of cc.ParticleSystemQuad that return null when call this._texture.getContentSize() in setTotalParticles at initialize particle from CCBReader