bitforce: Explicitly assign indexes for bitforce_proto enum
Merge commit 'be1dc04' into bfgminer
bitforce: Consistently use fd -1 when device is not open
Merge commit '020c02f' into bfgminer
Store when the last getwork was retrieved and display it in the API summary.

Conflicts:
	api.c
	cgminer.c