added coverity-scan support.
fix coverity-scan support.
Merge pull request #115 from raistlinthewiz/develop

Huge refactoring - the code now host multiple pools together
Merge pull request #116 from CoiniumServ/develop

sync coverity_scan with develop
Merge pull request #117 from CoiniumServ/coverity_scan

sync coverity_scan with develop