converted flood fill, getrectsubpix & cornersubpix to C++
converted watershed + pyrmeanshiftfilter to C++
converted moments function to C++
almost finished distance transform conversion (discrete voronoi diagram mode is not ready yet)
finished distance transform; fixed warnings
converted houghlines to C++
fixed compile warnings and opencv_perf_imgproc failures
fixed bug in the new version of cornerSubPix
fixed the remaining warning in houghlines
2 more warnings on Windows fixed
made several minor fixes as pointed out by Andrey
restored 8u->32f cvGetQuadrangleSubPix() mode (need better test for it)
Merge pull request #482 from vpisarev:c2cpp_imgproc_part2