ligolw_add.py:  simplify remove_input()
TimeSeriesInterpTest.c:  typo in comment
expand TimeSeriesInterp unit tests

- check for incorrect handling of final sample to detect recurrence of
  https://bugs.ligo.org/redmine/issues/1489
rate.py: edit a comment
ligolw_thinca.py: clean up some variable names