Eng 6671 schema report fixup

Resolved Catalog Report error. Fixed read and read/write relation between table and procedures.
Wrote test cases after fixing the bug.
Indentation is wrong.