Move string types to pgtypes.pas and port dnscore