Add support for resource access policies

This feature-pull-request adds support for resource based access policies. The request handlers, access points and taglibs now check if a user has the appropriate right (normally READ) before they perform any action.