Zaslat SMS: GAMA/H-ATLAS: the ultraviolet spectral slope and obscuration in galaxies