FEAT: moved all Red runtime global init code into functions.
FEAT: added a "shared lib" mode to Red compiler where Red init code is run on lib loading.
TESTS: fixed Unicode tests to run Red init function.