Move Logger and core natives from core to logic

This makes more progress in moving logic from the core bin to the logic bin. The majority of Logger.cpp and all of smn_core.cpp's natives are moved.

This also fixes one of two cases where we pass a FILE * across CRT copies on Windows, which is illegal (and crashy).