Is it permissible for the guardian, or the father of the child to hit the latter in order to teach him/her good manners?
It is permissible for the guardian to hit his/her child for teaching them good manners once they become ten years old provided that it is done mildly, harmlessly and without intimidation. Actually, such punishment is to be employed gradually i.e. after: asking, warning, and scolding. As for the teacher, he isn`t allowed to hit the student unless the latter`s father approves of it, and it is done according to necessity without intimidation, or harm.
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.
Is it permissible for a Muslim to slaughter an Aqeeqah on behalf of someone else, and offer it to him as a gift?
In principle, the guardian is the one who should offer the Aqeeqah (the sheep slaughtered on the seventh day from the child`s birth) because he is obliged to provide for the newborn, and it is impermissible for anyone else to slaughter it on his behalf unless with his consent. However, it is permissible for a person to offer the sheep, or its price as a gift to the guardian of the newborn, and then the latter can slaughter it, or deputies someone else to do that on his behalf.
Does Husband fasting while being impure for having sexual intercourse with his wife at night permissible?
Yes it is permissible for you to fast because impurity isn't among valid fasting conditions, but you are obliged to perform ritual impurity in order to catch up Fajr prayer at its due time. And Allah Knows Best.