Add sbatch --test-only option

Add --test-only option to sbatch command to validate the script and options.
The response includes expected start time and resources to be allocated.
bug 550