More removal of lt deprecated params and funcs

Due to a deprecation mistake get_settings() should be used for python
bindings and it will return a dict.
Remove stray debug logging line
Fixes for #367 : Don't store last_seen_complete and total_uploaded in state file
Fixes for #607 : Add completed_time to core and Completed column in GTK UI
Remove leftover total_uploaded state code
Fix #1000 : GTKUI: Select first row in list if no rows are selected

Also do not remove selection when changing filter (as 1.3 works)
Fix issue with add_torrent_params flags
Handle all-zeros KeyError for removed torrents alerts
Use a tmp file when saving state and resume files
Add super_seeding to core
Replace internal time_added with lt added_time
Add torrent.get_magnet_uri() to return generated magnet uri
flake8'd torrent.py
Add missing entries to OPTION_FUNCS in torrent.set_options
Flake8'd core files