Create stored procedures that retrieve germplasm details related to pedigree and modify other stored procedures to reset the loop0_eof variable before each cursor fetch

Issue: GCP-9771

Reviewer: Darla (post-commit)