Add a wrapper to compile + run a test case.

This is needed for test262, as they expect a command file,
which they invoke on each test file they have.