Added support for linear and radial gradients.

I needed the gradient support for one of my projects and added it to the library today. I got inspired by: 

https://github.com/DmitryBaranovskiy/raphael/blob/master/raphael.js#L5810