pylib: commands: remove app_global table and var commands

With this commit I removed the app_global table and all its reference
in the code. All the command used to manipulate that table are also
gone