stbt-run: detect_match and detect_motion now return the timestamp of the frame processed

Previously, there was no guarantee that the timestamp returned was the one
of the frame processed.