webkitpy: Refactor setup_test_run for IOSPort and IOSSimulator