add Range#toPlain
Created by: sqs
Selection has this. It is used when passing around the type to the client side of the extension system. It is not necessary to use toPlain, but it is useful in tests when checking for deep object equality from 2 range values (one which might be a "full" Range class instance, one which is just the plain old data object).