Allow to find out if a set is empty, and its min and max.
This is implemented using a private GtkSet helper. Includes tests.