Exploring aspects of nonequilibrium physics with quantum impurity problems