update cc.RectApplyAffineTransform

1 update cc.RectApplyAffineTransform, Math.min and Math.max can apply more than two parameters	
2 fixed a bug  when node.setScale(x, 0),  node._scaleY should be 0 not x