Add some more debugging output
Updated to latest test data
Refactor MMDB_aget_value

This doesn't yet address the bug I found with the non zero record data but it
will make it a lot easier to fix.