As G.M. emerged from bankruptcy on Friday, the chief executive began a new era for the carmaker with a promise to emphasize the quality of its vehicles.