tests: Allow tests to use customized command line parameters

Tests will now return the extra command line parameters they need
when run with --params
tests: add test of headless compositor screenshot mechanism

NOTE: this currently dumps a ppm into the weston source dir - not ideal...