Added proper testing of the end of quicktime video files.

CvCaptureFile::grabFrame() always returns 1 regardless, which causes
dead loop when relying on the return value of VideoCapture::read().
Removed trailing whitespace in cap_qtkit.mm.
Fix the build of OpenCV with XIMEA on Windows 64 bits:
  - crosses initializations in "cap_ximea.cpp" (which also contained some awfull "goto" instructions)
  - the "CMAKE_CL_64" variable is not initialized when using mingw

PR#1039 modified to be able to merge on branch 2.4
Trailing whitespace removal.
Using four spaces for indentation.
minX1 should be max(-maxD,0) not max(maxD,0), avoid black band at left
Reworked documentation building to work with extra modules.

The main problem with extra modules is that they're located outside
of the OpenCV root, while Sphinx requires that all documents are
within the documentation root. To circumvent this, we create a
"fake root" and copy all documentation (as well as all files that
it depends on) there. It's a bit messy, but what can you do.

As a bonus, this eliminates the need to generate modules/refman.rst
inside the source tree.
compilation for VS2008
fixed some warnings
FFmpeg 2.0.2 32-bit builded with mingw (4.6.1) with following additional options: --enable-w32threads --disable-iconv --cpu=i686 (workaroud for http://trac.ffmpeg.org/ticket/2363)
Merge pull request #1806 from akarsakov:ffmpeg_without_iconv
NativeCamera build with AndroidStub backported from OpenCV master.
Merge pull request #1810 from Nerei:2.4
Initial NativeCamera support for Android 4.4 KitKat.
Prebuilt libnative_camera_xxx updated.
added INTER_AREA interpolation to ocl::resize
Removed all slashes after ${OpenCV_INSTALL_BINARIES_PREFIX}.

If it's followed by a slash and OpenCV_INSTALL_BINARIES_PREFIX is empty,
then the resulting path becomes absolute.

Fixes <http://code.opencv.org/issues/3350>.
Added Visual Studio 2013 detection.
Merge pull request #1815 from asmorkalov:android_native_camera_build_automation
workaround for ocl::absSum (eliminated error: unreachable executed)