Credit rating agency Standard & Poor's (S&P) has upgraded GM's credit rating in response to the company's four-year-labour deal concluded with the UAW.