Added support for NChannelImage and ExtendToNChannel


Sorry for all the previous open/close pull requests. This is the only merge to look at.

Again, I would avoid vision specific things here. For simplicity I would got for ``input_space``, ``output_space`` and ``analysis_space``.