Expand index_converter.py

Among other changes, this is now able to infer geoplace level,
to filter categories to avoid overcategorisation.