A complete calculation of the order αs2 correction to the Drell-Yan K-factor