Clean up error handling, we have to translate Helium errors into WiredTiger
errors before we return.

Rework the dump routine, it had random garbage left over from old debugging
runs.
Add basic support for Helium statistics/debugging; this should really get
hooked into WiredTiger statistics, but that's a project for another day.