api_generator:cpp: support ruby constants definitions, simple type support, nativeName support