New torrent health algorithm

Rewritten torrent health calculation to take into account the amount of seeds available. It also normalizes the data to make it more statistically distributed over the target range. And yes, I majored in Math ;) Fixes #913