Add token support to get_range_slices (#410)

I'm interested in token support for range slices. Someone else already created a ticket for it: https://github.com/hector-client/hector/issues/410