Use 'entities' package instead of using a DOM hack to decode html entities.

Change-Id: I414f3df5895dfd78166e6c33426733a582b069e6
Merge "Use 'entities' package instead of using a DOM hack to decode html entities."