Add global_or_local config option for allowing local pools
Merge pull request #7 from jeremyong/master

add global_or_local config option