A wildfire that destroyed two homes in Colorado's northern foothills and drove at least 100 people out of their homes has been contained.