Skip clipboard test on *nix systems if headless.

The clipboard is a matter for the X server.
Merge pull request #4499 from takluyver/clipboard_test_x11

Skip clipboard test on *nix systems if headless.