SWIG cleanup.
Added cast to torrent_finished_alert.
Headers.
Complete functional demo.