Added --pool-priority
Fixed configuration/command line parsing.
Added --coin pool parameter.
Merge pull request #168 from troky/testing

--pool-priority, --coin and fix for #80