Updated 'scripts/base_interaction.py' to be a real app

While here:
- replaced pyoro by the generic pykb
- added a couple of cmd line arguments to set the debug level
 and allow to run with a dummy middleware
Allow to properly quit the main loop