exploring possible bug in optimize_linear_svm
add hack to disable optimization of linear svms; improved precision of optimize_linear_svm; add the relevant test, which however requires some big database (so it's disabled by default)
fixed buffer size and restored the use of compressed files in ml's load_save tests.
fixed nonfree compilation with gpu (perf tests)
updated license header in whole gpu module
Merge pull request #687 from vpisarev:fast_lin_svm2
fixed http://code.opencv.org/issues/2899
removed extra whitespaces
Merge pull request #683 from jet47:gpu-license
Merge pull request #688 from jet47:fix-nonfree-compilation
Merge pull request #691 from vpisarev:fix_2899
Fix ant/Java detection in cmake scripts

Mac OS X 10.7 and newer don't come with Java installed. They do
include some stub binaries, which ask the user if they want to
install Java when run.

OpenCV's cmake script just checks for the existence of an ant
binary and assumes that Java's available if ant is. As a result,
cmake will configure the build to use Java and it will fail once
it tries to compile the Java bindings.

This fixes the issue by checking for the exit status of
`ant -version` - it exits 0 if Java is installed, or 1
otherwise.
added tutorial by Wolf Kienzle on using "image watch" plugin for ms visual studio
enabled png and jpeg for iOS
Merge pull request #697 from Nerei/ios_png_jpeg

Enabled png and jpeg for iOS
Merge pull request #698 from vpisarev/ms_visimage_tut24

added tutorial by Wolf Kienzle on using "image watch" plugin for ms visual studio
CPU implementation of CLAHE
GPU implementation of CLAHE
Merge pull request #701 from jet47:clahe
Drop outdated targets and fix solution folders