Calculate dependencies based on unresolved template
Calculate dependencies based on unresolved template

We previously calculated dependencies based on the template snippet for the
resource after static functions had been resolved. The distinction between
static and runtime resolution of data is going away soon, which causes
problems with that. Rather than rewriting the dependency code now, just
calculate the dependencies from the unresolved template instead. A future
patch will replace this code by allowing the functions themselves to
calculate their dependencies.

Change-Id: I2d193025219ce78b811090fc4eb459a89bd2fa26

pshchelo/heat,takeshineshiro/heat,noironetworks/heat,cryptickp/heat,srznew/heat,NeCTAR-RC/heat,noironetworks/heat,openstack/heat,rdo-management/heat,jasondunsmore/heat,openstack/heat,steveb/heat,dims/heat,gonzolino/heat,dragorosson/heat,dragorosson/heat,miguelgrinberg/heat,cryptickp/heat,rh-s/heat,maestro-hybrid-cloud/heat,steveb/heat,takeshineshiro/heat,maestro-hybrid-cloud/heat,pshchelo/heat,cwolferh/heat-scratch,dims/heat,pratikmallya/heat,redhat-openstack/heat,srznew/heat,pratikmallya/heat,rh-s/heat,jasondunsmore/heat,NeCTAR-RC/heat,rdo-management/heat,gonzolino/heat,cwolferh/heat-scratch,miguelgrinberg/heat,redhat-openstack/heat