recursively include templates when submitting theme

This is the quick fix for including templates.

This needs to be refactored as it's duplicated in both files `theme_view.php` and `submit_theme.php`.

I will update this branch with changes to dry this up a bit.