Whether you're buying on your own or with a partner, it pays to know where you stand legally, and which mortgage is best for you. Check out our tips before you sign on the dotted line.