Add support for Bitmain Multi Chain and Single Chain and optimize the
efficiency
Merge branch 'master' of https://github.com/bitmaintech/cgminer.git