Add mergeMap, switchMap, and concatMap

Resolves #1562.