Fixed resource generation via uuid

Hi guys. I'm totally newbie in SleekXMPP and jabber development at all — my experience with this library is literally 3 hours.

I've just fixed bug happend to me when I've been looking through your examples.

I've tested it in python2.7 and 3.2. But I'm not feel myself able to write unittests for it right now.