Add command mode access from context menu, alternative

This patch implements the first feature presented in the "Engine related features" section, from here: http://wiki.wesnoth.org/EasyCoding
To implement this feature, I added the command field in the configuration for the context menu.

This comes as an alternative to https://github.com/wesnoth/wesnoth/pull/246