[native] register user on native (C++ changes)
Summary: add registerUser function to CommCoreModule
Test Plan: successfully registered a new user from js
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D7695