A pretty listing can hide serious repair trouble, and one sharp inspection can save buyers from years of stress and surprise bill.