is_template for investigations should take into account child activities

We create parent investigations for activities that are templates for
external activities.  These investigations should identify themselves as
being "templates" too.

[#59868342]
https://www.pivotaltracker.com/story/show/59868342