Enhance pbs_config & pbs_stat to support pbs_snapshot

Forum discussion: http://community.pbspro.org/t/enhance-pbs-config-to-support-pbs-snapshot/1584

Motivation:

- pbs_config has the capability of taking in output from pbs_diag and configuring the local PBS system to "mimic" the diag captured (creates nodes, queues, scheduling policies etc. to make the local system appear as if it's the diag). Since we replaced pbs_diag with pbs_snapshot, it makes it necessary to enhance pbs_config to work with output of pbs_snapshot instead.

- pbs_config right now does not create users/groups corresponding to those which existed at the customer site. In order to debug esoteric issues, sometimes it's useful to submit exactly the kind of jobs which were being submitted at the site. So, it'd also be useful to have pbs_config --snap accept a sub-option --acct-logs to take an accounting trace from a site and create the users & groups.

- pbs_stat has the ability to stat data from a pbs_diag (option -d), need to make it support snapshots instead.


Proposed changes:

- Removing pbs_config --as-diag: Since we don't develop pbs_diag anymore, this option isn't needed anymore

- Adding new option --snap=<path to snapshot directory>: to input snapshot for pbs_config to work with to do exactly what it did before with --as-diag

- A sub option --acct-logs=<path to accounting logs>: to input an accounting log trace for pbs_config to work with. Initially, this will just be used to create users/groups found in the trace. But it could potentially also be enhanced in the future to work with the --import-jobs option.

- The user will be prompted for confirmation for creating users/groups

(Warning: This option will make pbs_config create new users and groups on the local system, so only use it in a disposable test environment)

pbs_config will now be distributed as a command in PBS_EXEC/unsupported: Until now, pbs_config was only available as a script inside unsupported/fw/bin/. This is just to move it out and make it an executable alongside other PTL based commands like pbs_loganalyzer & pbs_stat

- Removing pbs_stat -d: Since we don't develop pbs_diag anymore, this option isn't needed anymore

Adding pbs_stat --snap=<path to snapshot directory>: This will take a snapshot and perform stat actions on it, similar to how it used to work for pbs_diag.


Changes to pbs_snapshot:

- Adding 2 new outputs to be captured, these will help pbs_config --snap create the queues and scheduler configuration from a snapshot:

- server/qmgr_pq_default.out: this will capture the output of qmgr -c 'print queue @default'

scheduler/qmgr_psched.out: this will capture the output of qmgr -c 'print sched'