Fixing issues with the wait for image creation in the aws machine provider.
Adding reinitialization of ssh session upon image completion in the base fog machine provider.