Fix histogram calculation in equalizeHist

issue #2678
Always touch variable controlling build of the module

This suppresses "unused variable" CMake warning when user explicilty disables
module unavailable in selected configuration
Fix cvCalcOpticalFlow when the status parameter is NULL

issue 2526
adds desktop java junit tests
partial fix for failing tests; fix for Windows launcher script; more quiet output
more tests fixes
Increased time limit for normalize_minmax test
Increased time limits in Mat_Eye and Mat_Zeros tests
Increased time limit in HoughLines test
Made bitwise_not test more stable
Increased number of iterations in threshold test
Eliminated 720p tests
Left 5 testing sizes for WarpPerspectiveNear
Eliminated 25x25 window test
Eliminated tests for feature vector length=6
Eliminated tests for 720p and CV_64F depth
Eliminated tests for 720p and 127x61
Eliminated tests for szVGA, sz720p
Eliminated 1080p tests
Eliminated tests for 720p and CV_64F depth