Add platform specific extensions

These make it super easy to get dominant colors from the platform native `UIImage` and `NSImage` types. `image.dominantColors()` is all it takes.