changed support for 3-channels, changed CCOEFF
changed CCOEFF cn==1
added dft for CCORR
used vector data types for CCORR cn==1
Fixed core for CCORR and SQDIFF. Used float instead of int for CV_8U. Fixed conditions for call dft.
Merge pull request #2786 from ElenaGvozdeva:ocl_matchTemplate