Return JSON from PreEntitlement rules.

- JS attribute rules require returning a JSON representation of
  ValidationResult.
- Removed PreEntitlementHelper from Entitlement namespace.
- Moved fetching of host consumer to EntitlementRules and is only
  looked up if the consumer is a guest.