1.The roleData property is added to ApiResource.
2.Fixed testing about the ApiResource.
3.Add utility class, like Browser, Device, etc.
4.The roleData's type is changed to int.