fix swift for linux
Merge pull request #829 from LipuFei/fix_swift

fix swift for linux
fix swift windows build again
Fix debian/bin/tribler security issue.

Use mktemp to put the log in temp directory with some random template
to avoid malicious user to overwrite someone's file by symlinks.

Please see https://bugs.debian.org/760561

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Merge pull request #830 from LipuFei/fix_swift

fix swift windows build again
Merge pull request #831 from grandpaul/fixbinscript

Fix debian/bin/tribler security issue.
Fix for DrawText with newlines on Linux
Small changes to drawing text
Merge pull request #835 from Tribler/next

Merge next back to devel
Small fix for resume_download
Merge pull request #836 from egbertbouman/drawtext_fix

Drawtext fix
Call OnExit on the wx thread.
Fixes test runs hanging indefinitely raising a bunch of PyDeadObject exceptions.
Merge pull request #838 from whirm/fix_remotesearch_test

Call OnExit on the wx thread.
Start session after version_info has been set
Merge pull request #841 from egbertbouman/win8_fix

Start session after version_info has been set
Allow UDP tracker traffic to pass through the ExitSockets
Check if frame is a dead object before accessing it's attributes.
Merge pull request #840 from whirm/fix_remotesearch_test

Check if frame is a dead object before accessing it's attributes.
Merge pull request #842 from egbertbouman/traffic_filter

Allow UDP tracker traffic to pass through the ExitSockets
Check if the reactor is clean after shutting down everything.