obtain templates via templateNamespace

Recursively finds the templates in the specified namespace. Throws an
error if not found.