Split print into native library.
This makes it much easier to re-use printing code across globals (and in internal JavaScript) without having to set-up the functions in C++.
This makes it much easier to re-use printing code across globals (and in internal JavaScript) without having to set-up the functions in C++.