Contourmatching opencv - starting point, somebody check this code and help me write tests tomorrow

A little bit of a refactor is in order but it builds and runs the test file with only one warning about converting an int into a unsigned char, which is in a class Olaf gave us.