mch_init -> term_init

Move msgpack_init functions to main.c
update mch_suspend

Use the portable uv_kill.
Don't bother with archaic BeOS.
mch_early_init() -> early_init().

Move general initialization functions to early_init, which simplifies
test/unit/helpers.lua, which requires all these functions.