Modular Synthetic Platform for the Construction of Functional Single-Chain Polymeric Nanoparticles: From Aqueous Catalysis to Photosensitization.