Wiki namespace and new Range design

WikiSort and WikiMerge were moved into the Wiki namespace, and Ranges are now [start, end) rather than [start, start + length).