replaced additions of \@cert with attRefs
some textcrit customizations

and added the textcrit module to writings schema