Makes the thing build.

Removed all trace of const correctness, added utility functions at the top of Torrent.hpp.
Renamed the TODO marked methods and their references.