Introduce "copy class" LongRange from IntRange

Even though not all methods of IntRange will be necessary to LongRange...
TextDecoder: rename one local variable to spare some confusion