Projective Simulation in Action: Quantum-Mechanical Perspectives on the Problem of Agency (Synthese Library, 507, Band 507)