Add IOUtils.readLineHard() and .closeHard().
Add a few map-as-sparse-vector routines in MapUtils.