Bi-Objective Online Matching and Submodular Allocations