Permutation representations of group quotients and of quasisimple groups