The anomalous magnetic moment of the muon: A review of the theoretical contributions