Python3: use uuid module
Python3: use uuid module

Rework the code to:
- use the uuid module. Thanks to Norman DENAYER
- make it work on Python 2 and Python 3

LudovicRousseau/pyscard,moreati/pyscard,LudovicRousseau/pyscard,moreati/pyscard,moreati/pyscard,LudovicRousseau/pyscard