Tweaks to minimizeInlineTags to work with current HTML libs in Parsoid

* Looks like the orig version was printing paths directly instead
  of collecting nodeName (not sure how that version worked). Fixed
  debugging statements to print node-names for paths.

* The orig version was, in one place, using a HTML node as an object
  property name (instead of using nodeName) which no longer worked
  with current HTML libs. Fixed that code.

  This fix now makes the algo functional again.

  Still not deployable without introducing HTML attribute checks.

Change-Id: I8ccbb66b91e5cebba1c5c7b156e848d99d9d4655
Merge "Tweaks to minimizeInlineTags to work with current HTML libs in Parsoid"