Always check for the return value of cv.QueryFrame()

When grabbing frames from a video file, we have to check
the return value of cv.QueryFrame() in order to understand
whether the video is ended or not. Currently, SimpleCV
gives an exception when the video is over. See issue #135