node-api: factor out common code into macros
- Create macro for checking new string arguments.
- Create macro for combining env check and inside-gc check.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data