The superluminal motion of the jet launched in GW170817, the Hubble constant, and critical tests of gamma ray bursts theory