Change enum PermissionMask to conform to the OpenSim version, adding Export.
Merge pull request #7 from MelanieT/master

The PermissionMask enum, changed to match OpenSim's version
Fix retrieving roles for groups that have 9 or more roles (Thoys)