Bugfix 3306

More info: http://code.opencv.org/issues/3306
Applied fixes for the interface of image sequence reading.
It is available in openCV 2.4.7 source code but not documented.

Have supplied a pull request to master in the past, but master also contains errors.
Will provide fix in seperate pull request.