Adds samples for Java and Scala
Added a desktop Java tutorial
Made changes to allow ml module to work with big data.
a part of PR269 (parallelization of several functions) by Alexander Mordvintsev
Changed types of some variables from int64 back to int.
Also corrected some indexes to be size_t.
Merge pull request #405 from vpisarev:znah_patch
Smartek Giganetix Cameras support (Patch #2192) integrated.
Fixed dummy warning.
Smartek Giganetix Cameras support (Patch #2192) integrated to master.
Update regression checks in Java test

This follows SURF changes in 1f261c2
Merge pull request #407 from taka-no-me:fix_java_after_surf_change
Fix setting of FPS after frame width and height with DShow cameras

Issue #2114
Update modules/contrib/include/opencv2/contrib/contrib.hpp

class LevMarqSparse is not tagged CV_EXPORTS, 
so the contrib module,  built the on win using vs won't contain that symbol,
trying to create an instance of LevMarqSparse will lead to a 'undefined symbol' err, because it did not make it into the library.
Remove unused vars
Fix subtle bug when src & dst agree on sparsity but have different dimensions
Remove unused var "total"
Declare vars as locally as possible
Mat tutorial - grammar and spelling fixes
Merge pull request #415 from asmaloney:cvCopyHist-fix
Merge pull request #414 from asmaloney:remove-unused-vars2
Check memory allocation
Initialize local variables
Check memory allocation
Declare vars as locally as possible