Sane typehinting for XMLBuilder
Fix fake polymorphism in XMLBuilder, because there is no such thing in PHP
fix todo: get Last child of the XML tree, but only in the case when needed, the code builds upon the bug in other cases :(
Merge pull request #13 from deathowl/master

Massive cleanup. Thank you very much!