fix logging builds and piece picker issue in set_piece_priority
fix block cache issue (introduced with purgeable memory)
add more DHT debug logging to session and torrent