Added test for adding permission for specific user. Made hasPermission use api to set permission instead of internal services
Moved URIResolver into PortalRequestImpl in webui/portal as it is now returned from PortalRequest.getURIResolver, and added a basic URI resolver to BasicPortalRequest