Micropilot cleanup.

I believe there's more to do, but this seemed like a good start.
At this point, it lints and I can require it.  I haven't tried using it yet, though, and I'm not sure what's up with the tests or their coverage.