rewrote LDfeatureselect for windows compatibility

File descriptors behave differently on windows and unix platforms, and
the previous implementation depended on some unix-specific behaviour.
This has been redesigned in favor of a more platform-independent
approach.
changed tempfile names
rewrote train.py for windows compatibility
added joins after each use of a multiprocessing pool to avoid RuntimeError