TRQ-911 - Define PBS_NUM_NODES, PBS_NUM_PPN and PBS_NP environment
variables for prologue and epilogue scripts. Created new library
function to create environment variables. Refactored other sections
of code to use the new function.