Cosmology and Astrophysical Constraints of Gauss-Bonnet Dark Energy