Public API implementation
Added basic validation for site, page and node names. Moved Parameters from impl to api
changed logger for PortalImpl to 'org.gatein.api'
removed logger in DataStorageContext as it shouldn' log and re-throw exception
removed unused DEFAULT_SITE field in PortalImpl
Name validation removed from public API
Changed node filtering
Consolidated all tests to use same abstract test class
Added Portal.createSite
removed comments from PortalImpl.createPage
Improved TODO in SiteImpl.getDisplayName
Removed localized support for displayName and description from Site and Page as it is not supported internally
Handle authorization based on current managed user and role since extensions are now responsible for handling it on their own.
Support non-authenticated access and authorization to resources for public rest api.
Moved Parameters to internal
Added support for Site.get/setAttributes. Added more tests in PortalTest. Fixed Portal to make sure exceptions match those defined in JavaDocs
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
Replaced using Java7 Locale methods with commons-lang LocaleUtils
Minor tweak to ObjectFactory.createVisiblity