glib: Implement accessors for element attributes

Implement inspecting the standard attributes of PopplerStructureElement
objects.
glib: Add poppler_structure_element_is_grouping()

Implement a method to check whether a structure element is a grouping
element, wrapping the StructElement::isGrouping() method.