Add endian handling
test_compare_string: Deal with null pointers
Add pg_testdb::dump_logs()

Also update the way we configure the log file.
Add pg_query()
update_elf_closure(): Switch to pg_query()
pg_testdb: Fix memory leak in configuration file search
gunzip_source: Fix memory leak