Anisotropic superconductivity and quantum oscillations in the layered dichalcogenide TaSnS2