add C stubs for the Str module, adapted to remove use of compatibility (e.g. stat_alloc to caml_stat_alloc).

We want to get rid of this eventually, but that can wait for namespaces and such