Fix testDecodeNullInput: invoke decode method not encode
Bug fix: base64 input of length 1 cannot be decoded
Add Base58 codec implementation

The implementation is for a flickr-compatible base58 codec (not for
Bitcoin base58).