daemon: tar: Use a temporary file to pass excludes to tar command (RHBZ#1001875).

Use tar -X option instead of tar --exclude=... option.
Add a regression test of tar-out excludes option (RHBZ#1001875).