Add fn to check CF template validity

e.g., it doesn't pass through STDOUT/STDERR by default and just returns return status