Lint Fixes
Add a ReadConfig program to read port numbers and make apiserver and p2pool startup more robust