What is the ruling on praying behind an undesirable Imam?
It is permissible to pray behind an Imam who is undesirable for committing religious violations, and it is disliked for such an Imam to lead the prayer. Still, If he was undesirable for a personal, or a worldly matter, then such argument doesn’t hold water. And Allah Knows Best.
Is it permissible to swear by (Allah "The Living")?
Yes, it is permissible because "The Living" is one of Allah`s Attributes.
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.
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.