Fix #1371 Templates: template-name evaluation could set observable (template foreach binding)

Add support of observable template binding name property for template
foreach binding