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.
Added Visual Studio 2013 detection.
Fixed OpenCV_LIBS when find_package has been used with explicit components.

Fixes <http://answers.opencv.org/question/23997/opencv-247-cmake-includes-all-modules-even-if-i/>.
Back to the previous coding way (using the macro with the goto).
Merge pull request #1761 from bhuroc:qtkit-video-file-2.4
Fix the Qt sample, broken after #1722.
Gave CvSVM a private copy constructor & assignment operator.

The implicitly generated ones don't work properly, and I don't want to
write proper ones. :-)

"Fixes" <http://code.opencv.org/issues/3358>.
workaround for AMD bug: UNREACHABLE EXECUTED
Merge pull request #1829 from SpecLad:config-components-libs
Merge pull request #1833 from SpecLad:fix-qt-sample
fix for supporting 64-bit architecture
Merge pull request #1836 from ilya-lavrenov:ocl_norm_workaround
perf report: summary.py: added --progress mode
Merge pull request #1834 from SpecLad:svm-copy-ctor
Merge pull request #1776 from philippefoubert:merge_upstream_2.4_ximea
Merge pull request #1795 from alalek:perf_report_progress