stbt: Add a new iterator method `detect_motion`
stbt: Add a new iterator method `detect_motion`

The iterator method `detect_motion` gives access to everything returned by
stbt-motiondetect.

The method wait_for_motion is extracted from Display and implements its
logic using a generic method `detect_motion`. This cleans up considerably
the code and makes it easier to understand what wait_for_motion does.

LewisHaley/stb-tester,LewisHaley/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,martynjarvis/stb-tester,wmanley/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,stb-tester/stb-tester,stb-tester/stb-tester,wmanley/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,wmanley/stb-tester,martynjarvis/stb-tester,wmanley/stb-tester,LewisHaley/stb-tester,wmanley/stb-tester