Small patches for minor compile issues in CSharp.stg

Adjusted form of earlier pull request:

a) Mark generated classes as 'non-CLS compliant'
b) Disable several compiler warnings don't make sense in generated code.  (NOTE:  I did not disable CS3019 since all the types are marked as 'public' in the current release - so this warning would never trigger).