Fixed selecting media type in DShow video capture.

Set correct value of sample size when calling IAMStreamConfig::SetFormat function. For non-RGB media type it can be set to zero value.
(See http://msdn.microsoft.com/en-us/library/windows/desktop/dd373477%28v=vs.85%29.aspx)
Fixed media type GUID for I420 format in DShow capture.

FOURCC code bytes should be placed in the reverse order.
Fixed getting CV_CAP_PROP_FOURCC property value

Save selected FCC in order to return proper CV_CAP_PROP_FOURCC property value (currently FCC for RGB24 is always returned).
Fixes  #3910, flags in _prepareImgAndDrawKeypoints are now binary OR'ed instead of added.
Fixed doc for Bug #3887

Fixed doc for Bug #3887
Made some changes specefict to 4 channel images. Fixed step value for tptr
Don't allocate lots of memory when reading TIFFs with infinite rows per strip.

Some TIFF images consist of only one strip. The magic value 2**32-1 for the
"rows per strip" tag reflects that fact, effectively meaning "infinite".
Merge pull request #3319 from Trundle:tiff_infinite_rowsperstrip
Merge pull request #3316 from nisargthakkar:Bug3887
Merge pull request #3311 from BarneyBear:2.4-drawMatches-flag-fix
Merge pull request #3309 from nisargthakkar:Thickness1NoLineCV_AA
Merge pull request #3298 from a-wi:DShow_capture
TCP instead of UDP
Merge pull request #3307 from ilya-lavrenov:ffmpeg_rtsp