add a method in class ObservableQuery for adding multiple QueryListeners
refactoring in order to improve the PrologEngineProxy class