Add exclude to ObjectExists and NoObjectExists

Fixes for #368.
Should probably use the metadata API to fetch field values instead of getters. Getters are way too fragile.