When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible to swear by (Allah "The Living")?
Yes, it is permissible because "The Living" is one of Allah`s Attributes.
Is it permissible to make ablution without answering the call of nature after waking up?
Washing front and back openings (Istinjaa`) is not a condition for the validity of ablution because it is done to remove Najaasah (impurity), thus if there is no Najaasah, there is no need for that, and then it is permissible to make ablution without answering the call of nature. However, prayer is invalidated if there is Najaasah on the anus ,or the front opening, so it (Najaasah) must be removed for the prayer to become valid, and not the ablution.