Closed #5813: refactor code of cc.Sprite.setBlendFunc and cc.LayerColor.setBlendFunc
Merge pull request #2121 from dingpinglv/Iss5813_BlendFunc

Closed #5813: refactor codes of cc.Sprite.setBlendFunc and cc.LayerColor.setBlendFunc