Add 'interlace' flag for the save method of layer

Interlaced images progressively load in web browsers.

The default value of the flag does not apply any changes to the image, to preserve previous behavior.

This is similar to https://github.com/Sybio/ImageWorkshop/pull/11, but gives the caller full control over the interlace behavior.