Fixed DOMDocument::createElement(): unterminated entity reference

createElement($name, $value) does not encode the value, replaced
with a TextNode element.
Merge pull request #24 from tuempeltaucher/master

Fixed DOMDocument::createElement(): unterminated entity reference
update stable API version
Requested in #23 the painFormat should be overwritable as the XML seems the same for different PAINFormats. As this is likely not to be, this is just an Idea to solve this temporarily. A better solution would be to build DomBuilder for each PAINFormat but I think this is a pain too.
Code reformatting to a single coding style (Symfony2)
Merge pull request #27 from monofone/master

painFormat should be overwritable