Abelian and non-Abelian anyons in integer quantum anomalous Hall effect and topological phase transitions via superconducting proximity effect