McCartney returns to Upton Park

West Ham have signed full-back George McCartney for a third time after his loan arrival last season.