Add AS_APP_VALIDATE_FLAG_ALL_APPS

This allows us to control whether the per-application validation is also done
when validating a store. It was technically a behaviour change, which confused
the self test program.
Correctly write symlinks when extracting packages

We acually have to insert '..' manually to get back up to the temporary root
directory.
trivial: Fix make distcheck by including all the test files