MYFACES-3672 TODO 'optimize this code' in ResourceHandlerImpl.isResourceIdentifierExcluded() (Thanks to dennis hoersch for provide this patch)

git-svn-id: https://svn.apache.org/repos/asf/myfaces/core/branches/2.0.x@1433544 13f79535-47bb-0310-9956-ffa450edef68