Add an MMDB_new() convenience function

Make the maxmind_app_helpers.c open_or_die() function return a struct, not a
pointer.