Fix the issue with interface inputs described using intrinsic
functions, that produces an invalid HOT output. Also, include
necessary unit tests, and revert templates that were simplified
due to this issue..
This patch includes changes required in heat-translator for
resolving the issue.
Change-Id: I0aa01a05a7e9bf695c10b193023958ec11e4a422
Closes-Bug: #1440247