CASTELLVÍ DE ROSANES, Sant Jaume, S-XI-XII