Started on templateDetection using rgbchannels

The start of the overhaul on making template edge detection use images
rgb-channels (issue #8).
This version shouldnt work, as it is just the the start of the overhaul.

Added constructors for creating a grayImage from an image.