- Updated the ECS release method to ensure proper entity destruction.
- Introduced a countNodes function to track active entities in the ECS.
- Added new test cases for dynamic entity creation and destruction, ensuring correct behavior during updates.
- Enhanced existing tests to validate entity visibility and lifecycle management in various scenarios.
Wire exposeECS into ModuleManager so Squirrel can define Component and
Entity classes (EntityContainer alias), iterate with eve.view, and drive
logic via eve.System. Reserve eve.Component for ECS (UI keeps UIComponent).
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>