Move base64 and hex from libextra to libserialize
auto merge of #12200 : liigo/rust/base64_hex_out_of_extra, r=alexcrichton

extra::base64 => serialize::base64
extra::hex => serialize::hex