yelp-build: Better Mallard templates to determine files to copy

Instead of a second run using a stripped down stylesheet, we now use
the primary stylesheet, which gives us access to the same logic of
which elements to process, including conditional processing.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=709951