corrected closecats.h, modified type of foundrid & recPtr to double ptr.
- Tested createcats, opencats, closecats, findrelnum
corrected errormsgs.
Merge branch 'dheeraj' into nithin

Conflicts:
	physical/getnextrec.c
Corrected the error.h
Minor changes to error.h and closerel.c