If you approach the home-buying process knowing which costly blunders to avoid, you may be able to save tens of thousands of dollars.