Adds association with torrent and magnets under GNU + Linux.

May not build with clang because clang a shit / nor gcc because it relies on functionality added only in the wip/association branch of core.