handle mining.set_extranonce method
subscribe for mining.extranonce
Allow disable extranonce subscribe
Send subscribe request before auth
Change mining.set_extranonce method as stratum notification
Set extranonce.subscribe timeout to 2sec
Some tweaks for extranonce
Handle pool response, who send errors in invalid format
Move no-extranonce-subscribe parameter to a pool config
Disconnect from pool, if auth is failed
Set the pool idle and switch pool, if need
export PKG_CONFIG_PATH variable
Merge branch 'nicehash-extranonce' into cgminer-master
Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
Fix build: revert sgminer changes
build: Add --disable-adl-checks

Requested in https://github.com/veox/sgminer/issues/26

configure.ac needs an overhaul (see SDMINER_SDK).
Increase log buffer size
Print pool name when dump the protocol