Added addition input context parsing

The input context parser is now able to recover from users forgetting to
specify the ACTION_ or KEY_ modifiers in the name