Is it permissible for us to sever ties of kinship if our blood-relatives` gatherings/meetings involve acts of sin?
Observing kinship ties is obligatory, and paying your blood-relatives a visit causing their sinful acts to be hindered , then you should do so. However, if their sinful acts continue while you are at their gathering and they didn't respond positively, then observing kinship ties via telephone and the like will suffice in this case. And Allah Knows
I used artificial nails on my wedding night, but I was surprised to find out that they require at least a week to remove. However, I performed all my prayers during that period. What is the ruling on those prayers?
If these nails prevent water from reaching one's skin then your prayer are invalid and obliged to redo all of them. And Allah Knows Best.
What should one who forgot to offer the second Sajda during congregational prayer, and remembered it before the end of the prayer do?
All perfect praise be to Allah, The Lord of The Worlds. Whoever forgets a pillar of prayer while in congregation must follow the lead of the Imam, and after the latter offers Tasleem, he should offer one Rakah, then perform Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.