RGB <-> LabSpace memoization

PR started to address issue #9 . This is work in progress for comments and direction.

Could be written on a single line as:

```swift
return Int((x << 8 | y) << 8 | z)
```