auto-detect POW/POS

This will auto-detect if a coin is POW or POS on startup. Successfully tested it mining Emeralds (POW) and Bottlecaps (POS) without specifying POW or POS in the config file.