Align with fix for OPENAM-336

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8790 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
CR-3445 - AME-3113 - Prepare for OAuth2 and OpenID Connect Provider to become a common library - part 2

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8795 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-3902: CR-3427: Add support for policy creation via POST as well as PUT

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8798 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-3901: CR-3426: Improve error handling in entitlements end point/engine/frREST

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8799 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d