improved cv::matchTemplate OpenCL part
new scheme of sqrSum
Replaced calls to cout from photo module, by CV_Assert
core tapi optimization
CV_Assert for photo module corrected
fixed cv::dft
Merge pull request #2409 from juanmanpr:master
Merge pull request #2408 from ilya-lavrenov:tapi_core_opt
Merge pull request #2391 from ilya-lavrenov:tapi_match_template
Merge pull request #2436 from ilya-lavrenov:tapi_dft_fix