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.
TemplateDetetion now runs for every colorchannel

Split templatedetection into two functions, one used for finding edges
in the image using its grayscale, the other using rgbchannels. Still not
working as it should
detection on rgbchannels implemented

TemplateDetection can now run once on every channel and merge the
result. Somehow seems to work worse than simply using the grayscale...
finished rgbchannel edgedetection

rgbchannels edgedetection works properly now, but only slightly better
than grayscale. Compared to the extra time, its hardly worth it.
minor change

nothing worth mentioning
made some wild and crazy stuff