Remove some unused functions and improve call_until_true
Remove some unused functions and improve call_until_true

Now call_until_true can have arguments passed to it.
Remove some large methods are not used.

Change-Id: I132f3f2e8408a8ef125313e867773b94a7958216

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