Adds map variant which allows propogation of exceptions

Adds map_propogate_exceptions function which differs from map
in that it allows the propagation of exceptions from extension
functions rather than just logging and ignoring them