The Evolution of Dust in the Early Universe with Applications to the Galaxy SDSS J1148+5251