initial check in of  bstrlib files to foreign/bstrlib