Used float instead of int for CV_8U in sumTemplate
new block size for dft
added dft for all platforms
use std::min,max
Merge pull request #3013 from ElenaGvozdeva:ocl_matchTemplate