Merge warning supression.
Cleanup after the cleanups.
Use input_context in construction menu
Merge extraction of turns and message metods from game object.

Conflicts:
	src/action.cpp
	src/game.cpp
	src/monattack.cpp
	src/npcmove.cpp
Astyle messages module.
Change lua binding of add_msg too.
Merge branch 'keys' into better_construction_input
Add input_context API to get non-conflicting keyboard keys

Several interfaces make use of dynamic hotkeys e.g. assigning hotkeys to
inventory items. These dynamic hotkeys can conflict with action keybindings in
the current input_context. To address this, an API is added to input_context
to generate a list of keys suitable for use as dynamic hotkeys.
fix comma
Use getch in game::death_screen instead of get_input

This follows the dialog that appears ("Press Spacebar to Quit").
astyle game::list_factions
use redraw variable to redraw the fractions dialog when the selection has changed.
Use input_context in game::list_factions instead of get_direction
Use input_context in game::list_missions
astyle game::msg_buffer
Use input_context instead of get_input in game::msg_buffer
Fix some warning about signed/unsigned values

Also fix the indentation in list_factions
Remove the InputEvent enum and the two functions that still use it.

Those two functions and the enum are not used anywhere else. Finally.
Use item::use_charges and item::use_amount in map.cpp

Use long as type for the charges, as charges are stored as long.
fix inifinite loops