fix cap_qtkit.mm for multithreaded applications

cap_qtkit does not work when the capture is run outside of the main
thread.
If the capture is launched in a separate thread, then [NSRunLoop
currentRunLoop] is not the same as in the main thread, and has no timer.
see
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/F
oundation/Classes/nsrunloop_Class/Reference/Reference.html
"If no input sources or timers are attached to the run loop, this
method exits immediately"

Using usleep() (which I previously proposed, and was reverted) is not a
good alternative, because it may block the GUI.

Here is the new proposed solution:
- create a dummy timer so that runUntilDate does not exit immediately
- simplify the loop by using runUntilDate instead of runMode:beforeDate
- fix potential memory leaks (pointed out by Xcode's static analysis)
- fix init to follow Objective-C guidelines
- fax warnings about conversions from size_t to int
fix signedness error

OpenCV's automatic builds don't care if you store an unsigned int into
an int, but they don't want you to compare signed with unsigned. Does
that make sense?
Added a new tutorial "Using OpenCV Java with Eclipse". Removed information related to Eclipse from "Desktop Java" tutorial.
Added Kalman Filter of OpenCL version.
Removed whitespace.
fixed ocl::merge in case of 2 and types CV_32S and CV_32F
added IPP optimization of separable 32f filters; fixed IPP version check in DFT; fixed conditions in IPP optimization of norm functions.
fixed HOG perf test
increased time limit for bilateral filter performance tests
Merge pull request #1413 from melody-rain:2.4_kalman_filter
Merge pull request #1420 from ilya-lavrenov:ocl_perf_hog
Merge pull request #1417 from ilya-lavrenov:merge_fix
added CV_16UC(1, 3, 4), CV_16SC(1, 3, 4) data types support in ocl::pyrUp and ocl::pyrDown
Eliminated unsequenced assignments to temp3 from dpstereo.cpp.

They're unsequenced if CV_IMIN3 or CV_IMAX3 are invoked more than once
in a single expression.
MediaRecorder hint enabled for all Android devices with API level 14 and above.

It increases performance on some devices like Nexus4.
Target Android SDK version increased up to 14.
Merge pull request #1421 from ilya-lavrenov:ocl_bilateral
Added performance for Kalman Filter.
Removed whitespace.
Merge pull request #1431 from asmorkalov:android_recording_hint
Merge pull request #1432 from SpecLad:unseq