new CMesh.set_local_entities(), get_local_entities()

- Mesh and CMesh: new .entities attribute, new LocalEntities struct
- update mesh_init()