Fix bug on set_property method for Text and MenuButton classes.
Fix incorrect xml generated in python 2.7.1 when ui is saved. fixes #8