Color Transfer Function editor

(moving from enthought/enable#124)

This big chunk of code implements a CTF editor for creating/editing functions which map from some data space to RGBA values. I'm using it for a volume rendering viewer, but it could also be used for creating a colormap for an image plot.