icarus: When disabling, close device fd and stop sending new work
icarus: Skip sending new work if entering DEV_RECOVER* modes
DevAPI: Trigger mt_disable_start after init, if a device is disabled before minerloop starts
Bugfix: write_config: Make intensity list writing more readable, and avoid extraneous argument in dynamic intensity case
Bugfix: Correct argument type for --submit-threads option
Bugfix: configure: Use AC_SYS_LARGEFILE to ensure nonce/share log files can safely grow bigger than 2 GB
Bugfix: DevAPI: Reduce race-collision delay to 1ms so thread_shutdown actually gets called before threads are killed forcefully
Workaround bug in Plibc by resetting locale to "C" at startup
Use serial_close to pair with every serial_open
fpgautils: serial_close: Explicitly release advisory lock before closing, in case fd has been inherited by a process forked by system()
Merge commit 'a12a057' into bfgminer-3.2.x
Merge commit 'f066796' into bfgminer-3.2.x
Merge commit '51f2310' into bfgminer-3.2.x
Merge commit 'ead27b5' into bfgminer-3.2.x
Merge commit 'fcb3023' into bfgminer-3.2.x

Conflicts:
	deviceapi.c
Merge branch 'httpsrv' into bfgminer-3.2.x
Merge commit '2e20d06' into bfgminer-3.2.x
Bugfix: Zero stats: cgpu->diff_stale
Merge commit '64fa2e7' into bfgminer-3.2.x