Synchronize less frequently when compressing descriptors

This may improve our compression ratios.

fix for 11787
Warn if Tor is a relay and a HS

Closes 12908; see #8742
Merge remote-tracking branch 'public/bug12908_025'
Changes file for bug 11787
Merge remote-tracking branch 'public/bug11787'