tests: Add new 'make check-all' rule.

This runs all of the check* rules.  Since this includes 'make check',
'make check-all' is not quite equivalent to 'make extra-tests'.

Cherry picked from commit 0a60332e1bcff698555d31c8b2524a435a93a3f9
and modified because make extra-tests has not been removed from
this stable branch.
(cherry picked from commit 5e2dec40224f78f3150f6013191040199444d773)
tests: Add 'make check-release' rule.

This is a subset of tests which will be required to pass before a
tarball can be released by the maintainer.
(cherry picked from commit 809a7012dec57977b6fd283c44c26584c15d6999)
(cherry picked from commit 2400c6ff082636c7cd7df732ea402edc4f43d966)
generator: Set abs_builddir for old RHEL 5 which didn't have this.
(cherry picked from commit 06291ce0dd656605d3ada94c56103013d6eeaf3d)
(cherry picked from commit 00b12f8f538ac6d67c7d93f8a8a04f912d9a7a3a)
generator: Set abs_srcdir for old RHEL 5 which didn't have this.
(cherry picked from commit 1d08ea938f6c7b29160b833fa7b4be8241b4f565)
(cherry picked from commit e6def9ef9a4d71122b51ab5be6e6be8203dd79a9)
generator: Set builddir for old RHEL 5 which didn't have this.
(cherry picked from commit 9df4e51f65f15f3d217f527127c17da650d9ef48)
(cherry picked from commit a6726a8123b1a88d275def4ad7479c7ae10c73fa)
appliance: Remove dead code which (if not dead) would have set disk scheduler to noop.
(cherry picked from commit da764805ba42fd940c3fbe4bbdc2312c5f84c38f)
(cherry picked from commit 6b5c36676f88185d45b9ddf8e5b4afd29bbf5252)
security: Add documentation for CVE-2013-2124.
(cherry picked from commit ee9f1abe7ffacf4c6000c16721dc9259c51b61a1)
(cherry picked from commit f91c5f796bbcfbbef3be7bf239d194f7c6fd9391)
security: Centralize CVE information in one place (in guestfs(3)).
(cherry picked from commit b0bd0bba933141c4922c9eecd1c721228adccb97)
(cherry picked from commit 328bab8389bd19d5df991e5cd62e8df990998130)
podwrapper: Set Text::Wrap::huge property to "overflow".

This stops long URLs from being broken in the text output mode.

See:
https://www.redhat.com/archives/libguestfs/2013-May/thread.html#00088
(cherry picked from commit aab882a3a6f4acf99b7fba6ea9f9f072ed2898ea)
(cherry picked from commit 8296c56c345223d27c407b6c595a9bca9972bc3f)
release notes: Recompile so that long URLs aren't broken in text output.
(cherry picked from commit b3e5ed69b5d1540f463413122f2db21b3bbcfd46)
(cherry picked from commit 62bacfc481e36ca768f34b11edf21587708efca1)
inspection: Don't segfault if /etc/SuSE-release is an empty file.

Related to CVE-2013-2124.

Thanks: Olaf Hering.
(cherry picked from commit ae8bb84ecd46d7b6ef557a87725923ac8d09dce0)
(cherry picked from commit 70ca2117de84a221c72ffb7660b35c8550a2b1b0)
events: Refactor code to make the common path clear.
(cherry picked from commit 75cf879613899c1beb847b1f7a776df90b565be3)
(cherry picked from commit d46f36d4281209bf0b19074ab0611900a6e21c82)
events: Use bool for flag.
(cherry picked from commit e86459e5014eca637eade0bf0410175e5a4b5305)
(cherry picked from commit 7bd8a2eed9638db07864e04f001c047516df1203)
inspection: Correct fix for segfault if /etc/SuSE-release is an empty file.

The test was the wrong way round.

See: CVE-2013-2124.

This fixes commit ae8bb84ecd46d7b6ef557a87725923ac8d09dce0.
(cherry picked from commit 1c9dfd079aa6d7893f72c5fd17656c847f72c8d6)
(cherry picked from commit 0e65c43292f31da61f2102269a511b98a0f531bd)
proto: Fix for rare FileIn hangs. (RHBZ#969845).

Yet another protocol bug!

If the daemon cancels, then the library should send a cancellation
chunk.  It normally does this during the loop where it is uploading a
file.  However due to an oversight or possibly a regression when we
modularized the socket code, the library did not send a cancellation
chunk if the daemon cancelled just before the end of file was sent.

This commit fixes this.
(cherry picked from commit 697b0f89fed04a4017e033861a9eaaa40b3270d9)
(cherry picked from commit a5da855308476487b858756794a6043b9aad6570)
events: Avoid event handler limit if program allocates and deallocates handlers.
(cherry picked from commit b4d8757dadb67d86d14bd8af854d7ba48e9a55f6)
(cherry picked from commit 76cbd69391f38c7f8beb154c7c81ec9f86c9fb21)
perl: Add rules + environment variables so Perl code can be valgrinded.
(cherry picked from commit e8af0982da9f48cce00d999ec6777c15ab931d80)
(cherry picked from commit fefb19beff8a76aa0fe70787d637b3a373bfdc79)
docs: Updated release versions which fix CVE-2013-2124.
(cherry picked from commit 731d0e1bf6b2b4b977633a454a697eb61dc1557e)
(cherry picked from commit 8a0ded818d93cf7bb526b33df71c512739bef728)
Version 1.20.8.