More TODOs are done
Add some tests for mmdblookup

I punted and wrote these in Perl since it was _way_ simpler that way.

I also fixed a few bugs in mmdblookup. The --help option was broken (though -h
and -? worked).