Adds tests for XML version response

Adds tests for the version response when use
 Accept: application/xml

To share code, moved assertEqualXML from test_serializer
to keystone.test.

Change-Id: I92e28a9167d0c77fc7efbd1eda2893ec1128354f
Merge "Adds tests for XML version response"