Objective-C classes for transforming NSPredicates and NSSortDescriptors into CAML queries