[Refactor] mod_context replaced with simpler mod_globals, which fullfils just the specific task of hosting shared global data

- Plus, code related to checking context when executing key bindings, i.e. isContextValid() and related code moved to mod_keyboardLib
- Also, made changes related to the simplication of mod_globals and how other modules communicate with it