added hibernate modelgen to content entities and prepared for querying for scopes by request context and scope name