Added further debug logging to deployments
Fixed bug where deployment statuses were not refreshed every 30 seconds
Worked around bug where templates create a nested array for the instance attributes 'types' rather than a flat array
Added error handling if the deployment thread fails for any reason
Resolve small issue where to_s was called on nil