SANT JOAN LES FONTS, Monestir de Sant Joan,S-XII