Add support for animating 3D transforms

Support animating 3D transform functions.
http://dev.w3.org/csswg/css-transforms/#transform-functions

Bug: #566