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.
extended ocl::convertTo
Merge branch '2.4' into issue3258
disabled MOG tests if no video input support
Removed notes I wrote to myself and shouldn't be there in the previous commit. Realigned method declaration.
Added typo in docs of tutorial
Dropped the HAVE_DC1394_095 configuration macro.

We never set it, and libdc1394 0.9.5 is obsolete anyway - 1.0 came out
in 2004.

Note that 1.0 doesn't have the do_extra_buffering parameter.
Indeed, as pointed by Роман Донченко, m_block_size does not need to be of size_t type. On the other hand all tests I made showed that the image only loads correctly with m_block_pos being of type size_t. I could not figure out if there is some other change in the code that can be done to avoid changing the the type of m_block_size.
As suggested, changed m_block_pos to long. Tested and worked with my image. Also, fixed another misalignment.
Merge pull request #1444 from ilya-lavrenov:ocl_test_mog
Merge branch '2.4' into issue3258
remove CV_EXPORT from templates
fixed ocl::pyrUp for 2-byte types
removed useless output
removed needless divUp
added performance tests for data transfer operations
Merge pull request #1455 from ilya-lavrenov:ocl_test_output
Merge pull request #1454 from ilya-lavrenov:ocl_pyrUp