CSS Function Optimization

This commit adds support for the units contained with css functions, such
as gradients, rgb, translate, etc.

I also improved detection of the gradient function
Merge pull request #18 from amadeus/enhance-css-functions

CSS Function Optimization