discovery.py: use select instead of signal.alarm
get broadcast addresses for windows networks
discovery.py: fix for windows users
twisted_discovery.py: fix for windows users
simplify apply_device_settings