This change implements a Task resource of the image service with a wait_for_task method to wait for task to reach certain (normally 'success') status Change-Id: Ib74bb59bb06b6753720fc5047af1168c3cd66898