Preping HTML Provider for release

This pull request contains support for translation of charrefs #495 and begins to implement some of the points raised in #506.