Add implicit deps after calculation of all explicit deps
Add implicit deps after calculation of all explicit deps

Now we have graph of explicit dependencies builded before calculation
any implicit dependency in add_dependencies(). This will help to fix
several bugs and enhance some implicit dependencies calculation in cases,
when we need all explicit deps to be known.

Related-Bug: #1626634

Change-Id: Iebef2600781b867db5925346b444dec4d953aefa

noironetworks/heat,openstack/heat,noironetworks/heat,openstack/heat