Remove useless defines and SWIG options
Properly name the STL templates, for easier recognition
Properly incref the torrent_file pointer so that we can use it even after it
falls out of scope.