Clear referenced paks when disconnecting

After playing Team Arena, if you switch to Q3A and try to play a demo with
cl_allowDownload enabled it would print "Need Paks: blah blah" and not play the demo.
Merge branch 'master' into features/upgrade-curl-7.35.0