DTI is one of the top three factors in mortgage qualification. Here is how to calculate it, what programs require, and how to improve it before applying.