Automatic pool setting

query cgminer to get currently active pool to use in mining_history log