Rewrite the tests to use testharness.js.
Remove the old test runner.
Rewrite contenttype_setter.php in python.