Polarons And Mobile Impurities Near A Quantum Phase Transition