extra: move arena and glob to libarena and libglob

In line with the dissolution of libextra, this moves arena and glob into
their own respective modules.