Exclude formats from search engines

As we want to publish documents without them being "public" we exclude them from Search Engines using the same mechanism as Finder Frontend.
This looks gnarly enough that it could do with a unit test.