simple fixes for python 3 compatibility
fix for string conversion of SimpleXMLElement in python 3 and 2
added test cases
Merge pull request #5 from gaetano-guerriero/python3_patch

simple fixes for python 3 compatibility