Fixes for a Reference Error and high GC pauses in Particle System

Hey there,

yet another pull request from our side.

This one includes a minor fix for the case where `document.ccConfig` not being defined would result in a acces to undefined error.

Also included are two fixes for GC issues, one by adding another flag to `cc.ActionManger.removeAllActionsFromTarget` (a detailed explanation of this one can be found in the related commit message ) the other comes in the form of several optimizations in the `cc.ParticleDSystemQuad` class resulting in reduced memory thrashing.