Fix 'Labels' class in Python 3.

In Python 3, the attrs dict will already be an _EnumDict, which has a
separate list of member names (in Python 2, it is still a plain dict at this
point).
Fix unit test error on Python 3
Merge pull request #13 from samh/master

Fix 'Labels' class in Python 3 (fixes unit test)