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.
Added a new class to be used within the context process_all_frames.

At the moment, it allows to perform an action, eg. press a button.

If last_image is specified, it will stop processing frames as soon as it's
been matched.