Move numeric-based init/find methods out of .h

This patch moves the number-based graph/node/edge
naming convenience function implementations out of
pgm.h to pgm.cpp. Done mostly to avoid annoying
'unused' compiler warnings...