Move all headers needed by tests to MMDB_test_helper.h

Make version_t.c work with MMDB_test_helper.h

Link all test programs against libmmdbtest.la