Issue #30

I fix issue #30 (Invalid entity used in FOP production).  I implement an
EntityResolver which handles XHTML entities.  Furthermore, I implement
test cases for these classes.

In order to improve XML generation code I move it to a separate class
(InvoicingTransactionXML) and implement a factory class.