ocl: Add dft based convolve implementation.

Match template in ocl module now can be utilized with dft based
convolve. Note this feature needs OpenCV to be built with clAmdFft
library.
Fix some compilation errors and warnings.
Add some documentation on ocl::convolve
Merge pull request #783 from pengx17:master_matchTemplate_dft