Merge pull request #588 from drinkcat/fix-xkb-perm

Allow normal user to write to /var/lib/xkb.
edit-chroot: Check that all chroots passed as parameters exist before doing anything.
edit-chroot, spinner: define ret as a local variable
edit-chroot/backup: Delete partial archive on failure.

Ensures only complete archive is leftover.
Check that chroot names are valid:
No / in the name; name cannot be `.`, `..` or empty string.
Allow chroot name starting in `-`.

Make sure chroot names are separated from other arguments when calling `{mount,unmount,edit}-chroot`.
edit-chroot test.
edit-chroot: Check if target is a valid chroot name.
Add set -e in test scripts.
unmount-chroot: do no validate chroot name.
test: Check that invalid chroot name is also detected when passed as parameter.
edit-chroot: At least one command must be specified. Fix test.