OOP config_parser and creation of 2 methods:

ConfigParser.verif_config(), that performs different tests on the json
imported from config file.

ConfigParser.get_config_action(), that checks if an action is triggered
for the existing buffer and returns its string if it is.
adding some test function (__main__ of config_parser.py) and test config file
Correcting a typo in ConfigParser.__init__()
adding casting over type() return values in ConfigParser.verif_config()
changing val for key as its a dict and not a list as initially planed in ConfigParser.verif_config()
Correcting a syntax error :( how loosy am I...
aligning comments
Changing main debug function to cast the action in case of None value
Rewriting ConfigParser.get_config_action() in a more idiomatic way