Small refactor to Payload -class

Now we have public methods `to_xml`, `valid?` and `errors`. This makes working with errors and validation little bit easier (imho).