More switching WiredTiger to using a separate metadata table.

Still not ready for merging.