Re-enable all tests that glibc 2.17 fails.

(They were disabled to facilitate writing more tests under the
temporary Makefile-based test scaffold.)
Adjust data and templates to match ongoing changes to inventory generation.