Remove everything that's left to prepare for the rewrite.

Files were removed incrementally to make sure that a very minimal
subset of the code was left before the rewrite began. This may be
useful to refer back to later. The things removed earlier are probably
too old to be of any use.