Added a torrent library as submodule
Updated gitignore to ignore the cookie file
Simplified script to test the upload functions
Some rewriting
Use curl direct and not through a custom function
Added login function