Divergent Pd-catalyzed Functionalization of 4-Oxazolin-2-ones and 4-Methylene-2-oxazolidinones and Synthesis of Heterocyclic-Fused Indoles.