Halo-independent tests of dark matter direct detection signals: local DM density, LHC, and thermal freeze-out