Adding handling for plus, underscore, and number symbols in indexterms. ...

...Also fixing typo in endofrange template (missing closing quote)