Graded almost noetherian rings and applications to coalgebras