Isogeometric treatment of frictional contact and mixed mode debonding problems