Discard work that is stale in the get_queued() function, returning NULL instead.
Wake the global work scheduler when we remove a work item from the unqueued work pointer.
Remove the unqueued work reference when we discard work from get queued as well.
Remove wrong goto
Partial: Handle interruptions to various select calls in util.c

Conflicts:
	util.c
	util.h
Check for when errno is set on windows as well as the windows variant for errors.

Conflicts:
	util.h
miner.php allow links for rig buttons in tables and allow using the 4th IP octet if no rig name - default disabled for both
miner.php - define a default rigport (that can be changed) and don't require a port number in the rigs array

Conflicts:
	README.RPC
	miner.php
Add USB faqs.

Conflicts:
	README
api - buffer size off by 1 for joined commands
Merge branch 'cg_merges_20140322' into bfgminer