Made changes to allow ml module to work with big data.
Changed types of some variables from int64 back to int.
Also corrected some indexes to be size_t.
Smartek Giganetix Cameras support (Patch #2192) integrated.
Fixed dummy warning.
Fix setting of FPS after frame width and height with DShow cameras

Issue #2114
Check memory allocation
Initialize local variables
Check memory allocation
Declare vars as locally as possible
Remove unused constructor
Add checks for valid values
Fix wording on some errors
No need to check vector size before clear()
simplify the kernel logic when using rect kernel or without ROI
add setDeviceEx interface
simplify the logic of save binary
Merge pull request #395 from LeonidBeynenson:fix_ml_large_data_bug__2.4
Merge pull request #410 from taka-no-me:fix_cap_dshow_setfps
Merge pull request #421 from asmaloney:check-mem-alloc2
Merge pull request #424 from asmaloney:additional-checks
Merge pull request #425 from asmaloney:vector_empty
Merge pull request #429 from bitwangyaoyao:2.4_setdevEx
Modules redifinition in case of multiple includes of OpenCV.mk in single Android.mk fixed.
Merge pull request #420 from asmaloney:check-mem-alloc
enable Tegra optimizations