Adding TokenReplacerOverflowException to the TokenReplacer class.
If pre-specified recursion depth is exceeded then throw an exception.