Take the current list of valid image types currently supported by the cloud api and validdate it during the compose request. Also allow a test "image_type" image type which is used all over the place in the testing code.