Set MetadataFactory on XmlSerializer

While using the XmlSerializer, I got a fatal error [there](https://github.com/willdurand/Hateoas/blob/master/src/Hateoas/Serializer/XmlSerializer.php#L89) so I added the call to `setMetadataFactory`.