The is_node_template_associated function added.

It provides an ability to take an information about node template usages. It's needed for node template termination validation.

Change-Id: I49eeadf24417d2a6636804a71f6208e8577431d9
Fixes: bug #1174780
Merge "The is_node_template_associated function added."