enter-chroot: If XAUTHORITY is not set, make a guess

Useful when enter-chroot is called from udev/upstart, see #929.
Merge pull request #942 from drinkcat/enter-chroot-guess-xauth

enter-chroot: If XAUTHORITY is not set, make a guess