add permissions for User entity in AuthorizationService.js
remove express dependencies, add amdefine dependency
retab package.json
convert PermissionContext, PermissionHolder and Role to use amdefine so that they can be packaged in a browser-friendly library