xzgrep: exit 0 when at least one file matches.

Mimic the original grep behavior and return exit_success when
at least one xz compressed file matches given pattern.

Original bugreport:
https://bugzilla.redhat.com/show_bug.cgi?id=1108085

Thanks to Pavel Raiskup for the patch.
xzgrep: Add a test for the previous fix.

This is a simplified version of Pavel Raiskup's
original patch.
xzgrep: Improve the test script.

Now it should be close to the functionality of the original
version by Pavel Raiskup.
xzgrep: List xzgrep_expected_output in tests/Makefile.am.
Update NEWS for 5.0.6.
Bump version and soname for 5.0.6.
liblzma: Fix a portability problem in Makefile.am.

POSIX supports $< only in inference rules (suffix rules).
Using it elsewhere is a GNU make extension and doesn't
work e.g. with OpenBSD make.

Thanks to Christian Weisgerber for the patch.
liblzma: Fix invalid Libs.private value in liblzma.pc.
Update NEWS for 5.0.7.
Bump version and soname for 5.0.7.