colorspace-nchannels: return number of channels in colorspace
export encoding constructor and accessors

To allow callers to make and inspect encodings.