fixed bugs #1718, #2375; attached the new tests to test.py.
Correct tolerance value for sanity checks with ERROR_RELATIVE

Use min/max bounds instead of local value to calculate acceptance threshold.
Threshold based on local values somethimes does not work because cancellation
of big values may produce error bigger than local value.
added tests for fast (ticket #2613) and estimateAffine3D (#2375)
applied patch #2587
fixed failure of the C++ test for estimateAffine3D
yet another minor fix in cv::transpose()
Merge pull request #390 from taka-no-me:fix_relative_error_check
added test for the old cvHaarDetectObjects. disabled AVX optimization in haar.cpp. it should cover tickets #2534, #2591, #2669
disabled the use of SSE4 instructions as well to make the code compatible with the old Intel and AMD chips
Added a test for invalid key sizes in LSH tables
Checked key_size in LSH table for validness (#2677)
Added info() method in descriptor matchers (#2330)
Documented the TermCriteria class (#2560)
Merge pull request #392 from vpisarev:python_fixes2
fixed compile warnings
Merge pull request #398 from ilysenkov:bugfix_2330
Merge pull request #397 from ilysenkov:bugfix_2677
Merge pull request #400 from ilysenkov:bugfix_2560
Merge pull request #396 from vpisarev:facedetect_fixes