Add fn to check template validity
Merge pull request #73 from kyptin/check-template

Add fn to check CF template validity