The following functions got added today (7/2) in a new file called AuraUtil.lua in the FrameXML folder. I haven't had time to test them out but I figured I would post this so other people can check them out.
localfunction FindAuraRecurse(predicate, unit, filter, auraIndex, predicateArg1, predicateArg2, predicateArg3, ...)
if ... ==nilthen
returnnil;-- Not found
if predicate(predicateArg1, predicateArg2, predicateArg3, ...)then