helper_functions for query_object

Gabriele Barni requested to merge helper_functions into master

certain functions are used in both common_nb_tools and wrapper modules, so they should stay in a separate dedicated module

Merge request reports