add introspection to range objects (closes #9896)

Patch by Daniel Urban.
3 files changed