Added a script to query a schema for referential integrity constraints