This is the needed changes in order to have the new collation support. this part only concern the libc
This has been merged from Illumos and Dragonfly work + small fixes.
Please note that the whole LC_COLLATE has been changed to a new format generated from CLDR unicode db using tools written by edwin@ and extended by marino@ and an Illumos localedef(1) tool which will be added into base along with this.