Implementation of predicate expression eval, WAI namespace, documentation.

Change-Id: Icf2cb7850691aeef8e63d7a864159c440f45ce46