Fix option B: use separate implementations

The `CAGradientLayerLayout` methods are in the `cocoa/` folder, and so it is supposed to work on ios *AND* osx, but the color class in there prevents it.

Here's one way to fix it, and [here](https://github.com/rubymotion/motion-kit/issues/18) is another.