[native] Added terminate() implementation in JS and CommCoreModule
Summary: Update of CommCoreModuleSchema.js and associated codegen files, implementation of CommCoreModule::terminate
Test Plan: 1. Compiled the binary code.
Reviewers: tomek, kamil, ashoat
Reviewed By: ashoat
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D6834