Minor win32 fixes
Merge branch 'master' of https://github.com/wernsey/rengine

Conflicts:
	src/luastate.c
scancode_to_ascii() now also takes the numlock into account.
Changed the way styles are now handled in states.c - The apply_styles() function is no more, and the get_styles() function now has an extra parameter as default value.
The musl and lua states had to be changed accordingly.
I've also fixed the keyboard inputs for states in states.c
bm_color_atoi() no longer segfaults if passed a NULL argument.