Move base64 and hex from libextra to libserialize

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