Collapse of the $N=28$ shell closure in the newly discovered $^{39}$Na and the development of deformed halos towards the neutron dripline