BUG: use an OrderedDict instead of a set

This will preserve the order of the tables found by the parser, which is the
order that they occur in the HTML tree.
CLN: anticipate mi constructor fix
RVT: use internals from upstream/master
TST: test for correct warning class