Refactor and stability improvements when restarting threads
enable_device should not modify mining_threads because this is unsafe after initialization. it is also not necessary in most cases where it is currently used, except in initialization
refactored some of the new restart_mining_threads code and incorporated above change for better stability
properly handle disabled devices in restart_mining_threads when opt_removedisabled is set
total_devices was set incorrectly if the disabled devices were not at the end of devices, so total_devices is now always the number of detected devices, since that is what is in the devices variable
GPUs cannot be hotplugged
Changing disabled devices on pool switch is not possible if remove-disabled is set (enabled)
Fix bad lock
spaces/indent
unused preprocessor directive
more locks for devices
safer
fix broken disabled devices when remove-disabled is set
Remote config files

Config parser can now read config files stored remotely via
https/http/ftp. Requires libcurl.
Add BitBlock kernel
Add bitblock to source list
Shabal algo
Shabal header
Whirlpool header
Whirlpool algo
Add shabal.c and whirlpool.c to source list
Bitblock kernel
bitblock header
Create hamsi_old.cl