Add-in scanning fixes

When generating the add-in db, ignore assemblies from domains other
than the domain being scanned (with the exception of the global
domain).

When checking if an assembly is an add-in host, force an update
if there is an exception.

This fixes BXC bug #22549.