Threshold resummation at N3LL accuracy and soft-virtual cross sections at N3LO