merge with zqlin's version
add CV_INIT_ALGORITHM for KAZE [zqlin]
fixed bugs at Linux and compatibility with OpenCV master [zqlin]