HTML reader:  Generalized table parser.

This commit doesn't change the present behavior at all, but
it will make it easier to support non-simple tables in the future.