List-entities.py script

Utility script to get a snapshot of the entities stored in a CB database. Mainly aimed at debugging and analyzing production environments (such as Orion instance at FI-LAB).