Allow gathering torque machine info from command line.

This extends @mariogiov's machine info patch to support torque, via some nasty parsing of the output of `pbsnodes`.