fix TemplateSource
Merge branch 'fixTemplateSource' into knockout-3.1.0