Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
What is the ruling on the ablution of one who touches his wife without a barrier?
In the Shafi'i school, a man's ablution is invalidated by touching his wife if their skins meet (in any place) without a barrier, whether the touch is intentional or accidental. An exception to this is touching hair, teeth, or nails; these do not invalidate ablution. And Allah the Almighty knows best.