was hitting a divide by zero in some case where new nodes where in the
cluster but not part of a partition yet. also removed the dependency on
cpan modules so that others can use this without installing a bunch of
moudles beyond the Slurm api module.