Remove protocol selection in Python.

Use repr(pickle protocol 0), which is actually more compact than
b64(pickle(-1)).
Generalize the interpreter infrastructure to be language agnostic.
Generalize JS driver.
Generalize PHP driver.
Generalize Perl driver.
Remove old support code.