fix database upgrade
Merge pull request #357 from LipuFei/fix_db_upgrade

Fix database upgrade
If all the Discovery community's candidate sources are empty for a minute, use a randomly selected tracker to take the step.
Merge pull request #359 from whirm/fix_discovery

If all the Discovery community's candidate sources are empty for a minut...
Fix TasteBuddy.__cmp__
Merge pull request #360 from egbertbouman/tb_fix

Fix TasteBuddy.__cmp__
Fix sequence numbers
Merge pull request #363 from egbertbouman/sequence_fix

Fix sequence numbers
fix db upgrade
Merge pull request #365 from LipuFei/fix_db

fix db upgrade
add more per-community statistics
Merge pull request #366 from LipuFei/more_statsitics

Add more per-community statistics
Go back to using a threaded endpoint insted of a twisted protocol.
To work around the fact that the database blocks for so long that the UDP buffers fill and loads
of messages get lost.
Merge pull request #367 from whirm/revert_twisted_endpoint

Go back to using a threaded endpoint insted of a twisted protocol.