Use libbase58 for base58 and base58check encoding/decoding

If this accomplishes anything I'd expect it to reduce base58.cpp to a few lines or even make it possible to do away with it. But this saves hardly any code in base58.cpp!