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. Updates .gitignore with the entries
doc/{arena,glob} in accordance.