Update heat scripts

allow for wait condition url to be set
and try to handle exceptions when it is.

add a config version to help identify puppet
runs initiated from heat.

fix pre_puppet_command so that you can pass
in custom commands as a param.
Add a script to detect when puppet has finished

this is temporary until I can get wait conditions
sorted.