Rattle and Shine: Joint Detection of Gravitational Waves and Light from the Binary Neutron Star Merger GW170817