Removed deprecated functions `map` and `flat_map` for vectors and slices.

They required unnecessary temporaries, are replaced with iterators, and would conflict with a possible future `Iterable` trait.