RHEL 5: tests: Use gnulib.

Gnulib defines O_CLOEXEC which is missing on RHEL 5.
EPEL 5: Remove checks which fail with ancient qemu.

Note that g->app.qemu_version and g->app.qemu_devices will both
be empty strings.
EPEL 5: Remove AS_ECHO_N for ancient autoconf.
EPEL 5: Replace macro AC_STRUCT_DIRENT_D_TYPE for ancient autoconf.
EPEL 5: Don't use C99-style variable decls in for-loop.
EPEL 5: Remove Erlang bindings.
EPEL 5: Remove GObject / GObject Introspection / GJS bindings.
EPEL 5: Remove PHP bindings.
EPEL 5: Define le64toh, le32toh if not defined.
EPEL 5: Add gnulib utimensat module.

This function is missing in RHEL 5-era kernels.
EPEL 5: Old ocamlopt didn't support debugging (-g option).
EPEL 5: Replace format6 with format4 in OCaml gettext routines.
EPEL 5: Pass --preserve-dup-deps explicitly to libtool.

See this thread:
https://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00162.html
EPEL 5: Remove id= from -drive parameter on qemu command line.
EPEL 5: Add "null vmchannel" back for qemu without virtio-serial support.
EPEL 5: Disable libvirt attach method.
EPEL 5: Fix blkid to return "LVM2_member" for PVs.

Old blkid in RHEL 5 didn't return the right thing for PVs.
EPEL 5: sparsify: Fix command line options for old qemu-img.

This didn't have -o backing_file etc.  Use old -b and -F options instead.
EPEL 5: Remove Fedora MD test images.

On RHEL 5, mdadm is not able to create md devices with aliases,
eg. '/dev/md/boot'.
EPEL 5: Add mkisofs to package list.

This package contains the 'isoinfo' program which is required
to implement the corresponding API and for tests to pass.