Initial attempt at optimizing has_child query.

Short-circult bitset iterations once all parents have been found.
Add more has_child tests.
Add more has_child filter benchmarks
Minor optimization to has_child filter

Short-circuit id lookups once all parents have been found and don't
perform any lookup when no parents are found.