Quantifying the UV-continuum slopes of galaxies to z ~ 10 using deep Hubble+Spitzer/IRAC observations