Refactored code to read standard library in codegen.py into separate function.
Fixed generation of GENERATEDnative_wuclasses.c for camel case wuclasses like MathOp.
Merge branch 'codegenrefactor' into develop