Distribution and Quantile Functions, Ranks, and Signs in Rd: a measure transportation approach