Implementing NSMutableDictionary:whitelist and NSDictionary:fold

review @pdsarin cc @kiril