NIMBYs and rising migration have both been blamed for the UK's housing shortage. What's the actual problem, asks Ben Hopkinson.