Don't deliver empty resume_data parameter to session.add_torrent
Fixes a libtorrent crash on python 2.7 on Windows
Make sure sessionproxy events are registered after stopping and starting a daemon from gtkui.