UV to IR Luminosities and Dust Attenuation Determined from ~4000 K-selected Galaxies at 1 < z < 3 in the ZFOURGE Survey