More robust message parsing

This replaces the usage of attributes from the System.Xml.Serialization namespace, as discussed in #3.
What happens with this test case if, in 2015, we'll need to add a new version of the email-reference schema?