Buying a home? Here’s how to spot a bargain – and then push the value up