add rescale_to_diagonal, diagonal property to Image

`.diagonal` on `Image` reports the diagonal size of the Image in pixels. `.rescale_to_diagonal(diag)` is useful if you want to coarsely make un-annotated images a certain size without worrying about aspect ratios.