Fixes #53, checking if a consent has a template. we need to check the da...

...tabase of the live system for consistency as it appears that one of the consent form is not associated with a template