fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
moved to the new opencv_contrib/face module
added some basic functionality needed by the new face module (moved from the old "contrib")
Merge pull request #3068 from vpisarev:added_face_module
Merge pull request #3067 from vpisarev:minor_fixes2