LINUX: Fix build with libtorrent 1.0.x. Closes #1878.
Make configure search for sed.
Fix QtBus detection with configure.
Try to fix FreeBSD detection with configure.
Make configure detect qmake with different names. Closes #1924.