Added API for writeconcern objects 

This API is very desireable with working with host programs written in another languages to avoid having to declare and maintain the structs in other language (ex. Delphi) Writeconcern objects are created, destroyed and manipulated using API instead of accesing fields directly