Simplify pegs_is_ok and pegsless_is_ok
Simplify pegs_is_ok and pegsless_is_ok

Now gets only the needed information directly from the GUI, rather than
getting the whole geometry and cavity objects.

mchamberland/EGSnrc,nrc-cnrc/EGSnrc,crcrewso/EGSnrc,mchamberland/EGSnrc,mchamberland/EGSnrc,MartinMartinov/EGSnrc,nrc-cnrc/EGSnrc,marenaud/EGSnrc,crcrewso/EGSnrc,MartinMartinov/EGSnrc,ftessier/EGSnrc,nrc-cnrc/EGSnrc,ftessier/EGSnrc,ftessier/EGSnrc,ftessier/EGSnrc,MartinMartinov/EGSnrc,marenaud/EGSnrc,mchamberland/EGSnrc,crcrewso/EGSnrc,marenaud/EGSnrc,MartinMartinov/EGSnrc,MartinMartinov/EGSnrc,crcrewso/EGSnrc,marenaud/EGSnrc,ftessier/EGSnrc,mchamberland/EGSnrc,marenaud/EGSnrc,mchamberland/EGSnrc,marenaud/EGSnrc,ftessier/EGSnrc,nrc-cnrc/EGSnrc,crcrewso/EGSnrc,nrc-cnrc/EGSnrc