Allow to simulate game commands from Lua
Created by: christopho
Add functions to send a game command pressed or released event from Lua. This would allow advanced behaviors, even controlling the hero with an AI.
Most of the work is already done in branch simulate_commands thanks to mrunderhill.