The period adding and incrementing bifurcations: from rotation theory to applications