More pythonic reading of config file.

Will make coins a lot easier to add in the future. Error handling
is a bit fudged, and could probably be more comprehensive, but
will work fine for what we're doing here.