Do cleanup work in an earlier stage to ensure correct conf saving.
fix libtorrent 1.0 compatibility
don't use deprecated libtorrent functions
Merge pull request #1221 from arvidn/master

compatibility fixes for libtorrent 1.0 (trunk)
Preview now correctly uses the selected file. Closes #1222 #1182.
Allow to resize the columns in Add New Torrent dialog. Closes #1207 #676
Ensure that at least one column in the tranferlist is always visible. Closes #1165.
Ensure that the options window will always be placed onscreen. Closes #1226.
Delete temporary after they aren't needed. Closes #1188.
In qtorrenthandle.cpp exception made caught by reference
In qbtsession.cpp exception made caught by reference
In rssdownloadrule.{cpp,h} 'RssDownloadRule::operator==' made const.
In smtp.cpp fix 'ct' reassign.
Force write settings to disk before exiting.
Fix notifications with xfce4-notifyd.
Merge pull request #1238 from botanegg/cppcheck

Corrections from running cppcheck.