Majestic Harbor takes Gold Cup in upset victory