Tweaks to DSR algo to better use available info.

* With the following snippet, DSR algo was not computing end-dsr value
  for the <br /> before the </p> in the list item. This meant that the
  list item was not getting an end-dsr value which in turn meant that
  template encapsulation was failing on this snippet.
-----
<p>
{{IprNoticias|El primer astronauta brasileño regresa del espacio|Primer astronauta brasileño viaja hacia la Estación Espacial Internacional}}
* [http://www.jsc.nasa.gov/Bios/htmlbios/pontes.html Ficha biográfica de Marcos Pontes en la NASA] (en inglés)<br /></p><br />
-----

$ node parse --prefix eswiki --dump dom:pre-dsr,dom:post-dsr --trace dsr

* Fixed the DSR algo to use the selfClose attribute to set a zero
  end-tag width for literal-html nodes + also fixed the zero-children
  case to set end-range to 's' if the incoming 'e' value is null.

* With this fix, eswiki/Marcos_Pontes?oldid=64095464 now parses
  correctly.

* 4 (previously blacklisted) tests now have more accurate DSR in the
  recorded HTML.

Change-Id: Ibd9af52a12f5cefb308714120cded0a640a695b9