Extended rotation algebras: Adjoining spectral projections to rotation algebras