Inheritance: it's ugly, but effective.
Use `CoreMatchers` in production code.

This way, the hamcrest-library dependency is not necessary (but it is recommended).
Stop using Guava in DomXmlSerializer.
Serializers should be able to throw exceptions.
The DomXmlSerializer isn't really safe.