Create grouping configuration based on the property datatype
Create GroupingConfigurationMaker class as builder class,
with proper error handling if it is not a property.
Also retire the build_grouping_configuration
static method added in 3e3f47fc9d.