Add setChannel and setAsVector to Image

Add setChannel and setAsVector to the Image data structure. This
provides customary set access here. Also, make it more clear that the
getChannel and getAsVector return mutable access to the Image data, by
providing const and non-const versions of these functions.