rewritten meanshift & camshift in C++
rewritten motion templates in C++, restored BackgroundSubtractor::operator() for better compatibility
converted estimateRigidTransform to C++. moved the obsolete stuff to separate files (which will further be moved to legacy)