add transformations for immutable/mutable array subclasses
allow for conditionally excluding primitives

ANKSearchQuery was previously sending all BOOL properties as part of the query.
This was excluding results from search options unnecessarily.
fix for switch - NSNumber cannot be cast to int