KB Home reported strong growth and a huge surge in its backlog, suggesting that the market for new homes is improving.