Implements a few more settings, update to use the 1.0 libtorrent API.

Also replaced the deprecated methods call and implemented some in the torent class.
The clients should never have to use directly the underlying library.