Hierarchical Bayesian Spectro-Temporal Models Of Type Ia Supernovae In The Optical And Near-Infrared : Understanding The Properties Of Dust In Supernova Host Galaxies