tests: add screenshot recording to weston-test
tests: add test of headless compositor screenshot mechanism