Added some functional programming methods to NSDictionary