4157 Give HTML classes to stats items

https://code.google.com/p/otwarchive/issues/detail?id=4157

Includes Pull Request #1911, so if this gets merged first, please close that.
Had to add the p selector so it knows only to apply to the `<p class="kudos">` that contains the list of kudos on works, not the `<dt>` and `<dd>` tags in stats lines.