extract scripts/myrial's fake catalog as a utility

catalog from file is useful. 
The myrial version of sp2bench suite is in another repository, but it depends on this change. 
I would like to see the catalog extended with optional cardinality info if possible.