Fix clip-rect code and some other optimisation.
Fix clip-rect code and some other optimisation.

didiercrunch/raphael,oat-sa/raphael,prepare/raphael,prepare/raphael,giobero999/raphael,DmitryBaranovskiy/raphael,MD4/raphael,danielgindi/raphael,Customly/raphael,luisdesig/raphael,MD4/raphael,dpogue/raphael,DmitryBaranovskiy/raphael,wewelove/raphael,bqevin/raphael,danielgindi/raphael,cncounter/raphaeljs,wasabia/raphael,raphael-proust/raphael,henrical/raphael,npmcomponent/richthegeek-raphael,wewelove/raphael,didiercrunch/raphael,bqevin/raphael,luisdesig/raphael,giobero999/raphael,dpogue/raphael,Customly/raphael,pmcelhaney/raphael,mcanthony/raphael,mcanthony/raphael,cncounter/raphaeljs,wasabia/raphael,jhars/StateMap,henrical/raphael,jhars/StateMap,bpartridge/raphael