Groom for trailing whitespace in article title and also table footnote formatting

There was another pull request open, that was just for the trailing whitespace, but i think i had the forks wrong so I closed it. This pull request contains the groom for cleaning up trailing whitespace in the article-title tag, as that's been affecting the citation in articles since Shabash relaxed the formatting of text/whitespace.
Also, the other groom is to clean up the formatting of table footnotes. It removes the <label> tags from each footnote, and instead places the text from said label tag into the <p> with superscripts. This should create more consistency between the PDF and html xsl transforms, as well as alleviate a lot of correction requests regarding it.