Modernized the use of OpenCv

No more IplImage * and friends! Chilitags now uses the C++ interface of OpenCV instead of the C one.
And as a bonus: the shaky tag bug is finally fixed!